aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/module-verify3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydra/module-verify b/share/hydra/module-verify
index 5a4d164..9858120 100755
--- a/share/hydra/module-verify
+++ b/share/hydra/module-verify
@@ -17,7 +17,8 @@ elif [ -z "$HYDRA_FOLDER" ] || [ ! -e "$HYDRA_FOLDER/modules" ]; then
fi
cd $PUPPET
-HASH_SUBMODULE="`git submodule | grep "modules/$MODULE " | awk '{ print $1 }' | sed -e 's/\+//'`"
+HASH_SUBMODULE="`git submodule | grep "modules/$MODULE" | awk '{ print $1 }' | \
+ sed -e 's/\+//' -e 's/-//'`"
cd $HYDRA_FOLDER/modules/$MODULE