From 43a2594835cebaba29c8c546b1fe4b6c858082b7 Mon Sep 17 00:00:00 2001 From: midipix Date: Feb 14 2019 03:53:17 +0000 Subject: build system: configure, ccenv.sh: fix sed exp. for trailing tabs & spaces. --- diff --git a/configure b/configure index 1284263..370b3b1 100755 --- a/configure +++ b/configure @@ -399,7 +399,7 @@ config_copy() eval sed $mb_sed_substs \ $mb_project_dir/Makefile.in \ - | sed -e 's/[ \t]*$//g' \ + | sed -e 's/[[:blank:]]*$//g' \ > $mb_pwd/Makefile.tmp } diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 452694d..65a596a 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -955,7 +955,7 @@ ccenv_output_defs() done)" eval sed $ccenv_sed_substs $ccenv_in \ - | sed -e 's/[ \t]*$//g' \ + | sed -e 's/[[:blank:]]*$//g' \ > "$ccenv_mk" if [ "$ccenv_cfgtype" = 'host' ]; then