You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.489
Former-commit-id: 711682279101ddc89ff7b3b8639a574568fd6a0f
This commit is contained in:
parent
f38a7b4f5b
commit
702a3ab1af
10
scripts/update_submodules.sh
Executable file
10
scripts/update_submodules.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
SUBMODULE_ERROR='Could not recursively update all git submodules. You may experience compilation problems if some submodules are out of date'
|
||||
SUBMODULE_OK='Git submodules updated successfully'
|
||||
if test -d .git; then \
|
||||
(git submodule update --init --recursive && echo $SUBMODULE_OK) \
|
||||
|| (git submodule init && git submodule update --recursive && echo $SUBMODULE_OK) \
|
||||
|| (git submodule init && git submodule update && echo $SUBMODULE_ERROR) \
|
||||
|| (echo 'Git submodules could not be updated. Compilation will fail') \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user