aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/Rules.mk
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-11-11 11:16:46 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-11-11 11:16:46 +0100
commit8b31a682c1cac7752ca1b8e0886b04bef93c89da (patch)
tree3f21b172470112dd5155415ef52e5a8abe5a8751 /buildconfigs/Rules.mk
parent284be486e40af47fd798bf3635654251acf586e4 (diff)
downloadxen-8b31a682c1cac7752ca1b8e0886b04bef93c89da.tar.gz
xen-8b31a682c1cac7752ca1b8e0886b04bef93c89da.tar.bz2
xen-8b31a682c1cac7752ca1b8e0886b04bef93c89da.zip
Fix application of OS patches to deal better with failure.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r--buildconfigs/Rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index 5b70d23508..cb27b0cb99 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -84,7 +84,7 @@ ref-%/.valid-ref: pristine-%/.valid-pristine
rm -rf $(@D)
cp -al $(<D) $(@D)
if [ -d patches/$* ] ; then \
- for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done ; \
+ for i in patches/$*/*.patch ; do patch -d $(@D) -p1 <$$i || exit 1 ; done ; \
fi
touch $@ # update timestamp to avoid rebuild
endif