]> git.proxmox.com Git - pve-kernel.git/blobdiff - debian/scripts/export-patchqueue
debian/scripts: use printf to ensure \t is actually printewd as tab
[pve-kernel.git] / 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}"