From 99f4c9f914ffc7437ed3af159f78dec91e596d44 Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 26 2019 18:06:15 +0000 Subject: build system: configure: spare some cats. --- 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"