summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-02 14:21:19 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-02 14:21:19 +0200
commit472f6bf2b56f2955c92945a33c38157857b4a15c (patch)
tree5b713fbc06fcf7a1c1c36847162bcfa83843cc64
parent7365f7d0bce4b2656af7079340732622e6fcf9ce (diff)
fixed printf
-rw-r--r--update2
1 files changed, 1 insertions, 1 deletions
diff --git a/update b/update
index 94de092..65fe5d3 100644
--- a/update
+++ b/update
@@ -7,4 +7,4 @@ base_refname=$(base64 "${refname}")
target_file="/tmp/git_update_${base_refname}_test"
date > "${target_file}"
-printf "refname: %s" "${refname}\nsha1-old: ${sha_old}\nsha1-new: ${sha_new}" >> "${target_file}"
+printf "refname: %s\nsha1-old: %s\nsha1-new: %s" "${refname}" "${sha_old}" "${sha_new}" >> "${target_file}"