diff options
author | mafetter@fleming.research <mafetter@fleming.research> | 2005-05-13 12:52:14 +0000 |
---|---|---|
committer | mafetter@fleming.research <mafetter@fleming.research> | 2005-05-13 12:52:14 +0000 |
commit | 23a1ce0c8306cb397bec767905e1cf8f923dbaba (patch) | |
tree | 90f7cc1171a7b5890192ba1e0d6633da9882b88b /buildconfigs/Rules.mk | |
parent | 5cff3c6395283fc4d04aa52668304f09eb379493 (diff) | |
download | xen-23a1ce0c8306cb397bec767905e1cf8f923dbaba.tar.gz xen-23a1ce0c8306cb397bec767905e1cf8f923dbaba.tar.bz2 xen-23a1ce0c8306cb397bec767905e1cf8f923dbaba.zip |
bitkeeper revision 1.1159.258.121 (4284a2fe8e-teEoJtU8EYiHY0jsBdg)
Fix construction of ref directories when no patches are present
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r-- | buildconfigs/Rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index a2c4cc5ecc..11678ed9db 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -71,8 +71,8 @@ clean:: 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: |