]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fix at module-verify
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Aug 2011 13:22:44 +0000 (10:22 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Aug 2011 13:22:44 +0000 (10:22 -0300)
share/hydra/module-verify

index 5a4d164fbcfd3d7170fe16956f78c21325c97f6d..9858120670423b6e6a2c9f92298db8d46fd4f018 100755 (executable)
@@ -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