We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b275b4 commit f9c418cCopy full SHA for f9c418c
BUILD/FINISH.sh
@@ -48,11 +48,15 @@ commands="$commands
48
path=`dirname $0`
49
. \"$path/autorun.sh\""
50
51
-if [ -z "$just_clean" ]
+if [ -z "$just_clean"]
52
then
53
-commands="$commands
54
-git submodule update
55
-CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" $configure"
+ if test -d .git
+ then
+ commands="$commands
56
+ git submodule update"
57
+ fi
58
59
+ CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" $configure"
60
fi
61
62
if [ -z "$just_configure" -a -z "$just_clean" ]
0 commit comments