X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fpackage.mk;h=91871f06fbebf24245df3467757175cd1ed6aa51;hp=01c0333b06934c8bcf81d3ac1e5dfe7a425eb34b;hb=807461e11c8e8d86f28fc642966eb1f83a3b08f1;hpb=ad85464f11ee40ef1861d0a610ca4a3503835f9f diff --git a/include/package.mk b/include/package.mk index 01c0333b06..91871f06fb 100644 --- a/include/package.mk +++ b/include/package.mk @@ -216,7 +216,7 @@ define Build/CoreTargets ifneq ($(CONFIG_AUTOREMOVE),) compile: - touch $(PKG_BUILD_DIR)/.autoremove + -touch $(PKG_BUILD_DIR)/.autoremove 2>/dev/null >/dev/null $(FIND) $(PKG_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' -and -not -name '.pkgdir' | \ $(XARGS) rm -rf endif