From 4daced434aebef04e14a13717267d515b415c009 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 23:10:01 +0200 Subject: [PATCH] printf --- spcd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spcd.sh b/spcd.sh index 02e02f0..75e9cc6 100644 --- a/spcd.sh +++ b/spcd.sh @@ -711,7 +711,7 @@ ${spcd_ipm__url} spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh" if [ -f "${spcd_ipm__script}" ]; then spcd_ipm__file="${spcd_ipm__root}/spcd.sh" - echo "${SPCD}" > "${spcd_ipm__file}" + printf "%s" "${SPCD}" > "${spcd_ipm__file}" ls -l "${spcd_ipm__file}" dos2unix "${spcd_ipm__file}" ls -l "${spcd_ipm__file}"