summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-17 11:20:23 +0000
committermidipix <writeonce@midipix.org>2019-10-17 11:20:23 +0000
commit1e150dc30e9e1185e82d38f1e7ef90d2c0568c6c (patch)
treeeec7da9a65b14d10e3477fe113be2bca5db09c0c
parent376a05d801ed85ee10bcd0c2fe0a7432a98f4e45 (diff)
downloadsofort-1e150dc30e9e1185e82d38f1e7ef90d2c0568c6c.tar.bz2
sofort-1e150dc30e9e1185e82d38f1e7ef90d2c0568c6c.tar.xz
build system: ccenv.sh: ccenv_output_defs(): refactor for style consistency.
-rw-r--r--sofort/ccenv/ccenv.sh3
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" \