Allow sub names containing dashes #17

Merged
merged 1 commit into from Dec 7, 2012
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!"