projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14f611
)
add a crlf workaround similar to the one from freewrt
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Mar 2007 16:27:11 +0000
(16:27 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Mar 2007 16:27:11 +0000
(16:27 +0000)
SVN-Revision: 6507
include/unpack.mk
patch
|
blob
|
history
diff --git
a/include/unpack.mk
b/include/unpack.mk
index e533476b5276c1b8dd91ba5aae08e1426426ab43..7813e3b3d35683d18b4a7ad08e8a1410b448b055 100644
(file)
--- a/
include/unpack.mk
+++ b/
include/unpack.mk
@@
-17,4
+17,7
@@
ifeq ($(strip $(PKG_UNPACK)),)
else
# try to autodetect file type
endif
+ ifneq ($(strip $(CRLF_WORKAROUND)),)
+ PKG_UNPACK += && find $(PKG_BUILD_DIR) -type f -print0 | xargs -0 perl -pi -e 's!\r$$$$!!g'
+ endif
endif