Skip to contentSkip to conversation

customize: fix copy paths

PATCH New luca at lucaceresoli.net 3 participants 3 messages May 5, 2010 – May 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 customize: fix copy paths

From: Luca Ceresoli <[email protected]>

customize.mk used to copy files with a wrong command, resulting in one directory level in excess. For example, source/etc/myfile would have produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.

---
 package/customize/customize.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/customize/customize.mk +1 -1
index 780e42b..d2b8518 100644
@@ -11,7 +11,7 @@ $(BUILD_DIR)/.customize:
 	 /bin/ls -d * > $(BUILD_DIR)/series || \
 	 touch $(BUILD_DIR)/series )
 	for f in `cat $(BUILD_DIR)/series`; do \
-		cp -af $(CUST_DIR)/$$f $(TARGET_DIR)/$$f; \
+		cp -af $(CUST_DIR)/$$f $(TARGET_DIR); \
 	done
 	rm -f $(BUILD_DIR)/series
 	touch $@
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 customize: fix copy paths

Quoted 5 lines · luca at lucaceresoli.net

From: Luca Ceresoli <[email protected]>

customize.mk used to copy files with a wrong command, resulting in one directory level in excess. For example, source/etc/myfile would have produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.

Yup:

https://bugs.busybox.net/show_bug.cgi?id=849
https://bugs.busybox.net/show_bug.cgi?id=1135

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Thank god!! ... It's
                                  at               HENNY YOUNGMAN!!
                              gmail.com            
#2 lore raw

PATCH 1/1 customize: fix copy paths

In reply to luca at lucaceresoli.net
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"luca" == luca <[email protected]> writes:

luca> From: Luca Ceresoli <[email protected]>
luca> customize.mk used to copy files with a wrong command, resulting in one luca> directory level in excess. For example, source/etc/myfile would have luca> produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard