diff options
author | midipix <writeonce@midipix.org> | 2019-10-17 11:20:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-17 11:22:01 +0000 |
commit | 540702d06f82c7050a8c924573e4fd6c95fa1b8b (patch) | |
tree | 152c97a363efe90a8209823b4c7b8c6b0a3ab682 /sofort | |
parent | bd3c2a7d83d236b17c9a68361d46ce9716446f81 (diff) | |
download | bcparser-540702d06f82c7050a8c924573e4fd6c95fa1b8b.tar.bz2 bcparser-540702d06f82c7050a8c924573e4fd6c95fa1b8b.tar.xz |
build system: ccenv.sh: ccenv_output_defs(): refactor for style consistency.
Diffstat (limited to 'sofort')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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" \ |