summaryrefslogtreecommitdiff
path: root/scripts/release-common.sh
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2012-01-25 15:43:43 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2012-01-25 15:43:43 (GMT)
commita76129971e2fa7426afe5d1be6b4d0061941d0b4 (patch)
tree2559071d33b0211871ab8bd4d3b1afeae7e76bb3 /scripts/release-common.sh
parenteff1f7f8c91cee34c584a89c5d09e401c609f93e (diff)
updates submodules if building from git
Diffstat (limited to 'scripts/release-common.sh')
-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..ad7b3fa 100755
--- a/scripts/release-common.sh
+++ b/scripts/release-common.sh
@@ -110,6 +110,10 @@ case $OS in
;;
esac
+if [ -n .git ]; then
+ git submodule update
+fi
+
if [ -n $EXAMPLESDIR ]; then
echo $EXAMPLESDIR
mkdir -p $EXAMPLESDIR
contact: Jan Huwald // Impressum