From 472f6bf2b56f2955c92945a33c38157857b4a15c Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Fri, 2 Aug 2024 14:21:19 +0200 Subject: fixed printf --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update') 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}" -- cgit v1.2.3