[adm5120] adm5120_mtd.c is no longer in use
[openwrt-10.03/.git] / include / quilt.mk
index 2e7941eaed3f9e7a20c53107271fde6cce74a8b7..7714f2911919a843e75db4dc1fc6c7808955e003 100644 (file)
@@ -61,7 +61,7 @@ $(STAMP_PATCHED): $(STAMP_PREPARED)
                cd $(PKG_BUILD_DIR)/patches; \
                find * -type f \! -name series | sort > series; \
        )
-       [ -f "$(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