From 2819784679ba1353290e37836c34eb8f5a6f3e38 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 23 Jun 2021 08:51:57 +0200 Subject: [PATCH] debian/scripts: use printf to ensure \t is actually printewd as tab Signed-off-by: Thomas Lamprecht --- debian/scripts/export-patchqueue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/scripts/export-patchqueue b/debian/scripts/export-patchqueue index 3b7be22..e319607 100755 --- a/debian/scripts/export-patchqueue +++ b/debian/scripts/export-patchqueue @@ -6,7 +6,7 @@ top=$(pwd) if [ "$#" -ne 3 ]; then echo "USAGE: $0 repo patchdir ref" - echo "\t exports patches from 'repo' to 'patchdir' based on 'ref'" + printf "\t exports patches from 'repo' to 'patchdir' based on 'ref'\n" exit 1 fi @@ -30,6 +30,6 @@ git format-patch \ "${top}/${kernel_patchdir}" \ "${base_ref}.." -git checkout ${base_ref} +git checkout "${base_ref}" cd "${top}"