Fixed the BUILD scripts to work outside of a git repository

This commit is contained in:
Monty
2022-11-28 16:17:31 +02:00
parent 5b275b41aa
commit f9c418c67d

View File

@ -49,9 +49,13 @@ path=`dirname $0`
. \"$path/autorun.sh\""
if [ -z "$just_clean"]
then
if test -d .git
then
commands="$commands
git submodule update
git submodule update"
fi
commands="$commands
CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" $configure"
fi