From b594ff78b22452b1260286f86fc5a40dbf3d38d9 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 16 Apr 2024 07:38:23 +0200 Subject: Improve shell quoting --- acid.yaml.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'acid.yaml.example') diff --git a/acid.yaml.example b/acid.yaml.example index a80cc4c..b34abf0 100644 --- a/acid.yaml.example +++ b/acid.yaml.example @@ -44,9 +44,9 @@ runners: setup: | set -ex sudo pacman -Syu --noconfirm git - git clone --recursive '{{.CloneURL}}' '{{.Repo}}' - cd '{{.Repo}}' - git -c advice.detachedHead=false checkout '{{.Hash}}' + git clone --recursive {{quote .CloneURL}} {{quote .Repo}} + cd {{quote .Repo}} + git -c advice.detachedHead=false checkout {{quote .Hash}} # Configuration for individual Gitea repositories. projects: -- cgit v1.2.3-70-g09d2