release: make gitIsGitDirectory do the correct thing
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 10 Dec 2012 10:30:13 +0000 (11:30 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 10 Dec 2012 13:48:23 +0000 (14:48 +0100)
Some relevant code was left commented out from debugging

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
release/release.bash

index fd8eea8..e1a5c62 100755 (executable)
@@ -90,7 +90,7 @@ function gitIsGitDirectory() {
   if [[ -d "${place}" ]]; then
     pushd "${place}" &> /dev/null
     set +e
-    git rev-parse --git-dir #&> /dev/null
+    git rev-parse --git-dir &> /dev/null
     result=${?}
     set -e
     popd &> /dev/null