diff options
author | midipix <writeonce@midipix.org> | 2019-10-26 18:06:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-26 18:07:28 +0000 |
commit | 151b2b0753647c12ada62e314478ba800323fe4f (patch) | |
tree | 56b5063984f1b27074707ecd3f32c9ac34e64027 /configure | |
parent | 2f6758a972ac21ebb57febf52cc2f25937af1271 (diff) | |
download | ntcon-151b2b0753647c12ada62e314478ba800323fe4f.tar.bz2 ntcon-151b2b0753647c12ada62e314478ba800323fe4f.tar.xz |
build system: configure: spare some cats.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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" |