From ae17ce41323bbf409b704e7fe3270e8fd641909c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 19 Dec 2011 14:57:45 -0200 Subject: Better regexp at module-verify --- share/hydra/module-verify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3