summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-25 21:24:14 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-25 21:24:14 (GMT)
commit85cb0f7acd36b1ff5fd9c4a49556aede614f6556 (patch)
treefa109d03882e791fc646dbd9ed352b911d20ed1d
parente5ca86f408c67ed740221ae6c6a8068c519c70ad (diff)
parent1b5dbe0dda0d98baea21747f0b2bfa08ee38b499 (diff)
Merge pull request #72 from brad/submodule
updates submodules if building from git
-rwxr-xr-xscripts/release-common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/release-common.sh b/scripts/release-common.sh
index 296c14a..72ae29c 100755
--- a/scripts/release-common.sh
+++ b/scripts/release-common.sh
@@ -110,6 +110,10 @@ case $OS in
;;
esac
+if [ -d .git ]; then
+ git submodule update
+fi
+
if [ -n $EXAMPLESDIR ]; then
echo $EXAMPLESDIR
mkdir -p $EXAMPLESDIR
contact: Jan Huwald // Impressum