haiku/3rdparty/docker/bootstrap/bootstrap.sh
Alexander von Gluck IV 9f35df2324 docker/bootstrap: Add --debug to get better haikuporter debug output
Change-Id: I8e9a093a28c96b334f3747d1624b9ee6d5fe9844
2018-11-04 08:37:54 -06:00

22 lines
362 B
Bash
Executable File

#!/bin/bash
if [ ! -d $WORKPATH ]; then
echo "$WORKPATH is not available!"
exit 1
fi
if [ ! -d $WORKPATH/src ]; then
echo "$WORKPATH/src is not available!"
exit 1
fi
if [ -z $TARGET_ARCH ]; then
echo "TARGET_ARCH isn't set!"
exit 1
fi
GENERATED=$WORKPATH/generated.$TARGET_ARCH
cd $GENERATED
HAIKU_PORTER_EXTRA_OPTIONS="--debug" jam -q @bootstrap-raw