summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-13 22:40:24 -0500
committermidipix <writeonce@midipix.org>2019-02-17 11:15:20 -0500
commitbea051dab5bf25d3f3af85a25b48d050bfbfa30a (patch)
tree1c14a3840f11a33ef145b2d5178a23b7f3f40d83
parent8535b67a7dbd5bb2e8c4e529c20ec8076b5cc27c (diff)
downloadmdso-bea051dab5bf25d3f3af85a25b48d050bfbfa30a.tar.bz2
mdso-bea051dab5bf25d3f3af85a25b48d050bfbfa30a.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