mirror of
https://github.com/zebrajr/server.git
synced 2025-12-06 12:20:40 +01:00
Fixed the BUILD scripts to work outside of a git repository
This commit is contained in:
parent
5b275b41aa
commit
f9c418c67d
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user