color schemes builder: fix trap command to avoid orphans

This commit is contained in:
Boris Faure 2020-11-19 13:53:55 +01:00
parent 43d1a681df
commit 6564e96039
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ INI2DESC=$(dirname "$0")/ini2desc.py
# work on a temporary file till every insertion worked
TMP_EET=$(mktemp "$OUTPUT-XXXXXX")
# trap to avoid creating orphan files
trap 'rm -f "$TMPFILE"' INT TERM HUP EXIT
trap 'rm -f "$TMP_EET"' INT TERM HUP EXIT
for INI in "$@"
do