summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-13 22:40:24 -0500
committermidipix <writeonce@midipix.org>2019-02-13 22:53:10 -0500
commitc2f2c2c01dc72eb174bd52aa073427973283a595 (patch)
tree24921e54e12680b975f15c10fcc44d5ef46b6ca9
parent6348143b67464b9f2dd3d1f1f22dae48bff95ab3 (diff)
downloadntapi-c2f2c2c01dc72eb174bd52aa073427973283a595.tar.bz2
ntapi-c2f2c2c01dc72eb174bd52aa073427973283a595.tar.xz
build system: configure, ccenv.sh: fix sed exp. for trailing tabs & spaces.
-rwxr-xr-xconfigure2
-rw-r--r--sofort/ccenv/ccenv.sh2
2 files changed, 2 insertions, 2 deletions
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