summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/module-verify2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/module-verify b/share/hydra/module-verify
index 59252ae..2d0587b 100755
--- a/share/hydra/module-verify
+++ b/share/hydra/module-verify
@@ -17,7 +17,7 @@ elif [ -z "$HYDRA_FOLDER" ] || [ ! -e "$HYDRA_FOLDER/modules" ]; then
fi
cd $PUPPET
-HASH_SUBMODULE="`git submodule | grep "modules/$MODULE " | awk '{ print $1 }' | \
+HASH_SUBMODULE="`git submodule | grep -E "modules/$MODULE( |$)" | awk '{ print $1 }' | \
sed -e 's/\+//' -e 's/-//'`"
cd $HYDRA_FOLDER/modules/$MODULE