cope with QUILT=1 when there are no patches

SVN-Revision: 8022
This commit is contained in:
Peter Denison 2007-07-17 20:05:08 +00:00
parent 6e655daf21
commit b375d32a48

View file

@ -61,7 +61,7 @@ $(STAMP_PATCHED): $(STAMP_PREPARED)
cd $(PKG_BUILD_DIR)/patches; \ cd $(PKG_BUILD_DIR)/patches; \
find * -type f \! -name series | sort > series; \ find * -type f \! -name series | sort > series; \
) )
[ -f "$(PKG_BUILD_DIR)/patches/series" ] && cd $(PKG_BUILD_DIR); quilt push -a -[ -s "$(PKG_BUILD_DIR)/patches/series" ] && (cd $(PKG_BUILD_DIR); quilt push -a)
touch $@ touch $@
define Quilt/RefreshDir define Quilt/RefreshDir