summaryrefslogtreecommitdiff
path: root/scripts/release-common.sh
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2012-01-25 21:06:27 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2012-01-25 21:06:27 (GMT)
commit1b5dbe0dda0d98baea21747f0b2bfa08ee38b499 (patch)
tree983480b14328e59d2816f6f41b3b822282c4536b /scripts/release-common.sh
parent81f543d4969c99346efbde6f89504a6f4eea6051 (diff)
check that the .git directory exists
Diffstat (limited to 'scripts/release-common.sh')
-rwxr-xr-xscripts/release-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release-common.sh b/scripts/release-common.sh
index ad7b3fa..72ae29c 100755
--- a/scripts/release-common.sh
+++ b/scripts/release-common.sh
@@ -110,7 +110,7 @@ case $OS in
;;
esac
-if [ -n .git ]; then
+if [ -d .git ]; then
git submodule update
fi
contact: Jan Huwald // Impressum