summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-06-12 09:27:42 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-06-12 09:27:42 (GMT)
commit169bcef7a5e0b25e26861dff086ef63c5b695c67 (patch)
treee7e80350e3e54d276b63993128bd5cede73af30f
parente83ee0e46b11ac08706044388c6990fa048cfdc2 (diff)
downloadbaserock-chroot-169bcef7a5e0b25e26861dff086ef63c5b695c67.tar.gz
Allow '.' in chroot names
Baserock version numbers contain '.', so it's common to want to use it.
-rwxr-xr-xmanage-baserock2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage-baserock b/manage-baserock
index c878d18..acee510 100755
--- a/manage-baserock
+++ b/manage-baserock
@@ -21,7 +21,7 @@
BASEROCK_BASE="${BASEROCK_BASE:-/opt/baserock/chroots}"
ACTION="$1"
-SYSTEM=$(echo $2 | tr -c -d A-Za-z0-9_-)
+SYSTEM=$(echo $2 | tr -c -d A-Za-z0-9_-.)
URL="$3"
list_baserocks () {