Blame run-native.sh

e14835
#!/bin/bash
e14835
e7b20d
OLDDIR=`pwd`
e7b20d
BASE_DIR=$(cd `dirname "$0"`; pwd)
e7b20d
cd "$OLDDIR"
e14835
DATA_DIR="$BASE_DIR/docker-builder-data"
e14835
BUILD_DIR=$DATA_DIR/build
e14835
dd482a
CONFIG_FILE="$BASE_DIR/config.sh"
dd482a
PACKET_BUILD_DIR="$BUILD_DIR/packet"
dd482a
SCRIPT_BUILD_DIR="$BUILD_DIR/script"
dd482a
if [ -f $CONFIG_FILE ]; then
dd482a
	source $CONFIG_FILE
dd482a
fi
dd482a
export PACKET_BUILD_DIR
dd482a
mkdir -p $PACKET_BUILD_DIR
dd482a
dd482a
$SCRIPT_BUILD_DIR/common/manager.sh "$@"