]> git.proxmox.com Git - pve-kernel.git/commitdiff
debian/scripts: use printf to ensure \t is actually printewd as tab
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Jun 2021 06:51:57 +0000 (08:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Jun 2021 06:52:08 +0000 (08:52 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/scripts/export-patchqueue

index 3b7be2238578c3d6cbcd2df15ce5aa0b630ab12a..e3196073b33302eba5a2d694f5492a49123a6bae 100755 (executable)
@@ -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}"