From c31f3c2f50dfa633367d792f84cfe44024291324 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 1 Nov 2019 19:17:59 +0100 Subject: [PATCH] git_auto_update: update.sh: Fixed quoting of used variables --- roles/git_auto_update/templates/update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/git_auto_update/templates/update.sh b/roles/git_auto_update/templates/update.sh index 1407307..adba7eb 100644 --- a/roles/git_auto_update/templates/update.sh +++ b/roles/git_auto_update/templates/update.sh @@ -1,11 +1,11 @@ #!/bin/bash -readonly REPO="{{ repo }}"; -readonly DEST="{{ dest }}"; -readonly DEST_USER="{{ owner }}"; -readonly DEST_GROUP="{{ group }}"; -readonly PREFIX="{{ tag_prefix }}"; -readonly GPG_FINGERPRINT="{{ gpg_fingerprint }}"; +readonly REPO={{ repo | quote }}; +readonly DEST={{ dest | quote }}; +readonly DEST_USER={{ owner | quote }}; +readonly DEST_GROUP={{ group | quote }}; +readonly PREFIX={{ tag_prefix | quote }}; +readonly GPG_FINGERPRINT={{ gpg_fingerprint | quote }}; set -e;