Skip to content
Permalink
Browse files
Fixed the BUILD scripts to work outside of a git repository
  • Loading branch information
montywi committed Nov 29, 2022
1 parent 5b275b4 commit f9c418c
Showing 1 changed file with 8 additions and 4 deletions.
@@ -48,11 +48,15 @@ commands="$commands
path=`dirname $0`
. \"$path/autorun.sh\""

if [ -z "$just_clean" ]
if [ -z "$just_clean"]
then
commands="$commands
git submodule update
CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" $configure"
if test -d .git
then
commands="$commands
git submodule update"
fi
commands="$commands
CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" $configure"
fi

if [ -z "$just_configure" -a -z "$just_clean" ]

0 comments on commit f9c418c

Please sign in to comment.