From cc40ecdc776912a3bab95a7e72007a2d78739572 Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 17 2019 11:22:01 +0000 Subject: build system: ccenv.sh: ccenv_output_defs(): refactor for style consistency. --- diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 4ffd4df..5454d03 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -969,6 +969,7 @@ ccenv_output_defs() { ccenv_in="$mb_project_dir/sofort/ccenv/ccenv.in" ccenv_mk="$mb_pwd/ccenv/$ccenv_cfgtype.mk" + ccenv_tmp= if [ "$ccenv_cc_binfmt" = 'PE' ]; then ccenv_pe="$mb_project_dir/sofort/ccenv/pedefs.in" @@ -990,7 +991,7 @@ ccenv_output_defs() ccenv_in="$ccenv_tmp" else - unset ccenv_tmp || : + unset ccenv_tmp fi ccenv_vars=$(cut -d'=' -f1 "$mb_project_dir/sofort/ccenv/ccenv.vars" \