diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-25 21:24:14 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-25 21:24:14 (GMT) |
commit | 85cb0f7acd36b1ff5fd9c4a49556aede614f6556 (patch) | |
tree | fa109d03882e791fc646dbd9ed352b911d20ed1d | |
parent | e5ca86f408c67ed740221ae6c6a8068c519c70ad (diff) | |
parent | 1b5dbe0dda0d98baea21747f0b2bfa08ee38b499 (diff) |
Merge pull request #72 from brad/submodule
updates submodules if building from git
-rwxr-xr-x | scripts/release-common.sh | 4 |
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 |