color schemes builder: fix trap command to avoid orphans

terminology-1.9
Boris Faure 2 years ago
parent 43d1a681df
commit 6564e96039
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
  1. 2
      data/colorschemes/builder.sh

@ -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

Loading…
Cancel
Save