cd $(PKG_BUILD_DIR)/patches; \
find * -type f \! -name series | sort > series; \
)
- -[ -s "$(PKG_BUILD_DIR)/patches/series" ] && (cd $(PKG_BUILD_DIR); quilt push -a)
+ if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); quilt push -a); fi
touch $@
define Quilt/RefreshDir