summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-29 10:22:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-29 10:22:44 -0300
commit8d8d27062978cc85574d32966fd957fafca2d255 (patch)
tree24d59356f7fa40ee9c66506a455516fa1d1b0c53 /share
parente5862beed7d368b548db97be3f6627804ba90519 (diff)
downloadhydra-8d8d27062978cc85574d32966fd957fafca2d255.tar.gz
hydra-8d8d27062978cc85574d32966fd957fafca2d255.tar.bz2
Minor fix at module-verify
Diffstat (limited to 'share')
-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