mirror of
https://github.com/MariaDB/server.git
synced 2025-07-23 00:55:06 +00:00
Fixed the BUILD scripts to work outside of a git repository
This commit is contained in:
@ -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" ]
|
||||
|
Reference in New Issue
Block a user