[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.1159.258.121, 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 16:06:59 -04:00 +++ b/buildconfigs/Rules.mk 2005-05-13 16:06:59 -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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |