summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-26 18:06:15 +0000
committermidipix <writeonce@midipix.org>2019-10-26 18:07:28 +0000
commit8a91ca32a88007a3f6150a4b88cd13d223513ec0 (patch)
treea0051691e59a2524ac19f2268784ab561b5ffe33 /configure
parent8a66d9904bc00b3dc5f1a6160a194208be5fdb34 (diff)
downloadbcparser-8a91ca32a88007a3f6150a4b88cd13d223513ec0.tar.bz2
bcparser-8a91ca32a88007a3f6150a4b88cd13d223513ec0.tar.xz
build system: configure: spare some cats.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure b/configure
index 3944c1b..60a3ddb 100755
--- a/configure
+++ b/configure
@@ -62,17 +62,17 @@ init_vars()
sfrt_flag_vars=$sfrt_config_dir/flag.vars
sfrt_cfgdefs_in=$sfrt_config_dir/cfgdefs.in
- mb_make_vars=$(cat $sfrt_config_vars \
- | grep -v -e '^#' -e '^$' | tr '[:lower:]' '[:upper:]')
+ mb_make_vars=$(< "$sfrt_config_vars" \
+ grep -v -e '^#' -e '^$' | tr '[:lower:]' '[:upper:]')
- mb_impl_vars=$(cat $sfrt_config_vars \
- | grep -v -e '^#' -e '^$' | sed 's/^/mb_/g')
+ mb_impl_vars=$(< "$sfrt_config_vars" \
+ grep -v -e '^#' -e '^$' | sed 's/^/mb_/g')
- mb_proj_vars=$(cat $sfrt_config_vars \
- | grep -v -e '^#' -e '^$' | sed 's/^/mb_default_/g')
+ mb_proj_vars=$(< "$sfrt_config_vars" \
+ grep -v -e '^#' -e '^$' | sed 's/^/mb_default_/g')
- mb_flag_vars=$(cat $sfrt_flag_vars \
- | grep -v -e '^#' -e '^$')
+ mb_flag_vars=$(< "$sfrt_flag_vars" \
+ grep -v -e '^#' -e '^$')
mb_vars="$mb_make_vars $mb_impl_vars $mb_proj_vars $mb_flag_vars"