aboutsummaryrefslogtreecommitdiff
path: root/acid.yaml.example
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-16 07:38:23 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-16 08:30:25 +0200
commitb594ff78b22452b1260286f86fc5a40dbf3d38d9 (patch)
tree2155919c214082fe2e99728b6d0d0ac187d9fea8 /acid.yaml.example
parentfe81d713e1c59f2175974f0bc3eda5ff7a5f0749 (diff)
downloadacid-b594ff78b22452b1260286f86fc5a40dbf3d38d9.tar.gz
acid-b594ff78b22452b1260286f86fc5a40dbf3d38d9.tar.xz
acid-b594ff78b22452b1260286f86fc5a40dbf3d38d9.zip
Improve shell quoting
Diffstat (limited to 'acid.yaml.example')
-rw-r--r--acid.yaml.example6
1 files changed, 3 insertions, 3 deletions
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: