forked from github/server
remove discontinued submodules if they are checked out
This commit is contained in:
parent
75422e1ba6
commit
0de30cd376
1
s/build
1
s/build
|
@ -33,6 +33,7 @@ if [ ! -d $ROOT/$BUILD ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -rf crypto tolua
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
echo "build eressea"
|
echo "build eressea"
|
||||||
|
|
|
@ -22,6 +22,7 @@ exit $2 # otherwise
|
||||||
function build() {
|
function build() {
|
||||||
assert_dir $SOURCE
|
assert_dir $SOURCE
|
||||||
cd $SOURCE
|
cd $SOURCE
|
||||||
|
rm -rf crypto tolua
|
||||||
git fetch || abort "failed to update source. do you have local changes?"
|
git fetch || abort "failed to update source. do you have local changes?"
|
||||||
[ -z $1 ] || git checkout $1
|
[ -z $1 ] || git checkout $1
|
||||||
git pull
|
git pull
|
||||||
|
|
Loading…
Reference in New Issue