Permalink
Browse files

Merge pull request #17 from z0mbix/master

Allow sub names containing dashes
  • Loading branch information...
2 parents f327453 + 49cd7c9 commit 7b0c5b823bfa3bcbea8fa3664fba288f7ee09a8f @qrush qrush committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 prepare.sh
View
@@ -8,7 +8,7 @@ if [ -z "$NAME" ]; then
fi
SUBNAME=$(echo $NAME | tr '[A-Z]' '[a-z]')
-ENVNAME="$(echo $NAME | tr '[a-z]' '[A-Z]')_ROOT"
+ENVNAME="$(echo $NAME | tr '[a-z-]' '[A-Z_]')_ROOT"
echo "Preparing your '$SUBNAME' sub!"

0 comments on commit 7b0c5b8

Please sign in to comment.