From d352f036e08eeaefd12c7a6954097902878ba1f9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 10 Apr 2022 08:43:11 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20Strip=20#er?= =?UTF-8?q?rors=20in=20Configurations=20deployment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildroot/share/git/mfconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100755 => 100644 buildroot/share/git/mfconfig diff --git a/buildroot/share/git/mfconfig b/buildroot/share/git/mfconfig old mode 100755 new mode 100644 index b379317d98..8060fedc98 --- a/buildroot/share/git/mfconfig +++ b/buildroot/share/git/mfconfig @@ -87,8 +87,7 @@ if [[ $ACTION == "init" ]]; then # Strip all #error lines IFS=$'\n'; set -f for fn in $( find $TEMP/config -type f -name "Configuration.h" ); do - $SED -i~ -e "20,30{/#error/d}" "$fn" - rm "$fn~" + $SED -i "20,30{/#error/d}" $fn done unset IFS; set +f