From 1b671d477bc3154c1c72e2a770b8a97e4566a359 Mon Sep 17 00:00:00 2001 From: Ludovic Desroches Date: Wed, 14 Mar 2012 16:33:54 +0100 Subject: [PATCH] apply-patches.sh: cleanup Add quoting and remove redundant command. Signed-off-by: Ludovic Desroches Tested-by: Ludovic Desroches with an armadeus_apf9328_defconfig build Acked-by: Thomas Petazzoni Tested-by: Thomas Petazzoni Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- support/scripts/apply-patches.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index 908ce22ecf..c741a6320c 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -54,8 +54,8 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do esac fi echo "" echo "Applying ${i} using ${type}: " - echo ${i} | cat >> ${builddir}/.applied_patches_list - ${uncomp} ${patchdir}/${i} ${uncomp_parm} | ${apply} ${builddir} + echo ${i} >> ${builddir}/.applied_patches_list + ${uncomp} "${patchdir}/${i}" ${uncomp_parm} | ${apply} "${builddir}" if [ $? != 0 ] ; then echo "Patch failed! Please fix $i!" exit 1 -- 2.30.2