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
"${top}/${kernel_patchdir}" \
"${base_ref}.."
-git checkout ${base_ref}
+git checkout "${base_ref}"
cd "${top}"