summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsupport/scripts/apply-patches.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
index 908ce22ec..c741a6320 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