diff options
author | midipix <writeonce@midipix.org> | 2019-10-17 11:20:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-17 11:24:22 +0000 |
commit | 04c49c27093387068811ef0f31afeb9f7d73ef52 (patch) | |
tree | ec5b49b08f5b52e5a85cb057d712c61a484681b0 /sofort | |
parent | 7611fd77852464a9f9b27fa43624fa32a795cb23 (diff) | |
download | w32lib-04c49c27093387068811ef0f31afeb9f7d73ef52.tar.bz2 w32lib-04c49c27093387068811ef0f31afeb9f7d73ef52.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" \ |