ia64/xen-unstable

changeset 4897:8d8e644fea51

bitkeeper revision 1.1159.258.121 (4284a2fe8e-teEoJtU8EYiHY0jsBdg)

Fix construction of ref directories when no patches are present
author mafetter@fleming.research
date Fri May 13 12:52:14 2005 +0000 (2005-05-13)
parents 24dfd18ea63e
children d3b5e4a7d853 82f072b9e1f1
files buildconfigs/Rules.mk
line diff
     1.1 --- a/buildconfigs/Rules.mk	Fri May 13 11:14:06 2005 +0000
     1.2 +++ b/buildconfigs/Rules.mk	Fri May 13 12:52:14 2005 +0000
     1.3 @@ -71,8 +71,8 @@ clean::
     1.4  ref-%/.valid-ref: pristine-%/.valid-pristine
     1.5  	rm -rf $(@D)
     1.6  	cp -al $(<D) $(@D)
     1.7 -	[ -d patches/$* ] && \
     1.8 -	  for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done
     1.9 +	([ -d patches/$* ] && \
    1.10 +	  for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done) || true
    1.11  	touch $@ # update timestamp to avoid rebuild
    1.12  
    1.13  %-build: