add a crlf workaround similar to the one from freewrt

SVN-Revision: 6507
lede-17.01
Felix Fietkau 2007-03-04 16:27:11 +00:00
parent d14f611eb1
commit bc60eb3610
1 changed files with 3 additions and 0 deletions

View File

@ -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