All pastes #1454560 Raw Edit

seniorr

public text v1 · immutable
#1454560 ·published 2009-06-09 23:34 UTC
rendered paste body
diff --git a/package/Makefile b/package/Makefile
index 5e28720..41af67d 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -28,7 +28,7 @@ $(curdir)/cleanup: $(TMP_DIR)/.build
 $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
 	@-$(MAKE) package/preconfig
 	@if [ -d $(TOPDIR)/files ]; then \
-		$(CP) $(TOPDIR)/files/. $(TARGET_DIR); \
+		$(CP) --remove-destination $(TOPDIR)/files/. $(TARGET_DIR); \
 	fi
 	@mkdir -p $(TARGET_DIR)/etc/rc.d
 	@( \