1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:01:52 +02:00

add a crlf workaround similar to the one from freewrt

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6507 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-04 16:27:11 +00:00
parent 2cd10271b8
commit 0c97f1fe58

View File

@ -17,4 +17,7 @@ ifeq ($(strip $(PKG_UNPACK)),)
else else
# try to autodetect file type # try to autodetect file type
endif endif
ifneq ($(strip $(CRLF_WORKAROUND)),)
PKG_UNPACK += && find $(PKG_BUILD_DIR) -type f -print0 | xargs -0 perl -pi -e 's!\r$$$$!!g'
endif
endif endif