diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-11 11:16:46 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-11 11:16:46 +0100 |
commit | 8b31a682c1cac7752ca1b8e0886b04bef93c89da (patch) | |
tree | 3f21b172470112dd5155415ef52e5a8abe5a8751 /buildconfigs/Rules.mk | |
parent | 284be486e40af47fd798bf3635654251acf586e4 (diff) | |
download | xen-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.mk | 2 |
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 |