diff --git a/roles/server/gitea/templates/update_gitea.sh b/roles/server/gitea/templates/update_gitea.sh index 91dcbb7..a58b886 100644 --- a/roles/server/gitea/templates/update_gitea.sh +++ b/roles/server/gitea/templates/update_gitea.sh @@ -3,10 +3,10 @@ readonly CHECKSUM_TYPE="sha256"; readonly CHECKSUM_APP="${CHECKSUM_TYPE}sum"; readonly GPG_FINGERPRINT="7C9E68152594688862D62AF62D9AE806EC1592E2"; -readonly GITEA_USER='{{ gitea_system_user }}'; -readonly GITEA_DIR='{{ gitea_installation_directory }}'; -readonly GITEA_BIN='{{ gitea_binary_path }}'; -readonly SERVICE_NAME='{{ gitea_service_name }}'; +readonly GITEA_USER={{ gitea_system_user | quote }}; +readonly GITEA_DIR={{ gitea_installation_directory | quote }}; +readonly GITEA_BIN={{ gitea_binary_path | quote }}; +readonly SERVICE_NAME={{ gitea_service_name | quote }}; set -e;