Blame run-native.sh

e14835
#!/bin/bash
e14835
e14835
SCRIPT_FILE=`realpath "$0"`
e14835
BASE_DIR=`dirname "$SCRIPT_FILE"`
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 "$@"