Message ID | 20120320233159.AE89C95403@busybox.osuosl.org |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index 908ce22..c741a63 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