From bc60eb3610c458c103576ef9bbceee9abcef2922 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 4 Mar 2007 16:27:11 +0000 Subject: [PATCH] add a crlf workaround similar to the one from freewrt SVN-Revision: 6507 --- include/unpack.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/unpack.mk b/include/unpack.mk index e533476b52..7813e3b3d3 100644 --- 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 -- 2.25.1