[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix construction of ref directories when no patches are present



ChangeSet 1.1855, 2005/05/13 13:52:14+01:00, mafetter@xxxxxxxxxxxxxxxx

        Fix construction of ref directories when no patches are present



 Rules.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     2005-05-13 14:02:52 -04:00
+++ b/buildconfigs/Rules.mk     2005-05-13 14:02:52 -04:00
@@ -71,8 +71,8 @@
 ref-%/.valid-ref: pristine-%/.valid-pristine
        rm -rf $(@D)
        cp -al $(<D) $(@D)
-       [ -d patches/$* ] && \
-         for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || 
exit 1 ) ; done
+       ([ -d patches/$* ] && \
+         for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || 
exit 1 ) ; done) || true
        touch $@ # update timestamp to avoid rebuild
 
 %-build:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.