diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-12-19 14:57:45 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-12-19 14:57:45 -0200 |
commit | ae17ce41323bbf409b704e7fe3270e8fd641909c (patch) | |
tree | 234e034b7f929c65372e6a012e984177394640ad | |
parent | 90fda0e707593f541831fe6d44b2af902c0ead2d (diff) | |
download | hydra-ae17ce41323bbf409b704e7fe3270e8fd641909c.tar.gz hydra-ae17ce41323bbf409b704e7fe3270e8fd641909c.tar.bz2 |
Better regexp at module-verify
-rwxr-xr-x | share/hydra/module-verify | 2 |
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 |