Blame docker/fedora-cross-win/build.sh

afefb6
#!/bin/bash
afefb6
8fa589
SCRIPT_DIR=$(cd `dirname "$0"`; pwd)
8fa589
BASE_DIR=`dirname "$SCRIPT_DIR"`
8fa589
BASE_DIR=`dirname "$BASE_DIR"`
8fa589
8fa589
CONFIG_FILE="$BASE_DIR/config.sh"
8fa589
PACKET_BUILD_DIR="$BUILD_DIR/packet"
8fa589
SCRIPT_BUILD_DIR="$BUILD_DIR/script"
8fa589
if [ -f $CONFIG_FILE ]; then
8fa589
	source $CONFIG_FILE
8fa589
fi
8fa589
export PACKET_BUILD_DIR
8fa589
mkdir -p $PACKET_BUILD_DIR
8fa589
8fa589
docker build -t morevna/build-fedora-cross-win $DOCKER_BUILD_OPTIONS "$SCRIPT_DIR"