summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2013-10-31 23:36:37 +0100
committerLeif Johansson <leifj@sunet.se>2013-10-31 23:36:37 +0100
commit6d74b3d6de4ca065c9b6519dbdad677fc72dc184 (patch)
tree8215e07f1c53b7e4685092ef2a8df305acac1b22 /apt
parent54000987a08f43e33d6c41ef18f0510f6ce7c540 (diff)
fix quoting
Diffstat (limited to 'apt')
-rwxr-xr-xapt/bootstrap-cosmos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/bootstrap-cosmos.sh b/apt/bootstrap-cosmos.sh
index 1e7b941..6b4454a 100755
--- a/apt/bootstrap-cosmos.sh
+++ b/apt/bootstrap-cosmos.sh
@@ -32,7 +32,7 @@ fi
hostname $cmd_hostname
perl -pi -e "s,#COSMOS_REPO_MODELS=.*,COSMOS_REPO_MODELS=\"\\\$COSMOS_REPO/global/:\\\$COSMOS_REPO/$cmd_hostname/\"," /etc/cosmos/cosmos.conf
-perl -pi -e 's,#COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN=.*,COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN="${cmd_tags}*",' /etc/cosmos/cosmos.conf
+perl -pi -e "s,#COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN=.*,COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN=\"${cmd_tags}*\"," /etc/cosmos/cosmos.conf
env COSMOS_BASE=/var/cache/cosmos COSMOS_KEYS=/var/cache/cosmos/repo/global/overlay/etc/cosmos/keys /var/cache/cosmos/repo/global/post-tasks.d/015cosmos-trust