diff options
Diffstat (limited to 'BUILD/FINISH.sh')
-rw-r--r-- | BUILD/FINISH.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/BUILD/FINISH.sh b/BUILD/FINISH.sh index 7e4f47760f4..4f90e53a54b 100644 --- a/BUILD/FINISH.sh +++ b/BUILD/FINISH.sh @@ -32,10 +32,19 @@ then configure="$configure --verbose" fi -commands="\ -/bin/rm -rf configure; -/bin/rm -rf CMakeCache.txt CMakeFiles/ - +commands="" +# git clean -fdX removes all ignored (build) files +if test -d .git +then + commands="\ +git clean -fdX +cd ./libmariadb +git submodule update +cd ../storage/rocksdb/rocksdb +git submodule update +cd ../../.." +fi +commands="$commands path=`dirname $0` . \"$path/autorun.sh\"" |