|
|
@ -259,20 +259,28 @@ fi |
|
|
|
if [ -z "$DEPS_INSTALL" ]; then |
|
|
|
DEPS_INSTALL= |
|
|
|
fi |
|
|
|
|
|
|
|
printf "* detecting EnlivenMinetest..." |
|
|
|
if [ -z "$ENLIVEN_REPO" ]; then |
|
|
|
try_default_enliven_repo="$HOME/git/EnlivenMinetest" |
|
|
|
for try_enliven_repo in "$HOME/Downloads/poikilos/EnlivenMinetest" "$HOME/Downloads/EnlivenMinetest" "$try_default_enliven_repo" |
|
|
|
do |
|
|
|
if [ -d "$try_enliven_repo" ]; then |
|
|
|
ENLIVEN_REPO="$try_enliven_repo" |
|
|
|
echo "Detected ENLIVEN_REPO=\"$try_enliven_repo\"" |
|
|
|
else |
|
|
|
echo "Tried \"$try_enliven_repo\" (not found)" |
|
|
|
fi |
|
|
|
done |
|
|
|
fi |
|
|
|
source mtbuild.rc |
|
|
|
if [ $? -ne 0 ]; then |
|
|
|
source "$ENLIVEN_REPO/mtbuild.rc" |
|
|
|
if [ $? -ne 0 ]; then |
|
|
|
echo "Error:" |
|
|
|
echo "source mtbuild.rc failed. Try adding it to the path or $try_default_enliven_repo (or set ENLIVEN_REPO)" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
if [ $mtLibrariesCompileResult -ne 0 ]; then |
|
|
|
cat "$extracted_path/libraries.log" |
|
|
|