summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index f9662978e9..05b4ffd2dc 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -251,7 +251,7 @@ define BuildPackage
clean: $(1)-clean
$(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared
- -@rm $(PKG_BUILD_DIR)/.version-$(1)_* 2>/dev/null
+ -@rm -f $(PKG_BUILD_DIR)/.version-$(1)_* 2>/dev/null
@touch $$@
$$(eval $$(call Build/DefaultTargets,$(1)))