summaryrefslogtreecommitdiff
path: root/Admin/gen-uni-tables
diff options
context:
space:
mode:
Diffstat (limited to 'Admin/gen-uni-tables')
-rwxr-xr-xAdmin/gen-uni-tables12
1 files changed, 6 insertions, 6 deletions
diff --git a/Admin/gen-uni-tables b/Admin/gen-uni-tables
index d86787a..e6cd7dc 100755
--- a/Admin/gen-uni-tables
+++ b/Admin/gen-uni-tables
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2015-2021 Free Software Foundation, Inc.
+# Copyright (C) 2015-2022 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -79,15 +79,15 @@ test -n "$UCD" || \
func_tmpdir
trap 'exit_status=$?
- if test "$signal" != 0; then
- echo "caught signal $signal" >&2
+ if test "$signal" != EXIT; then
+ echo "caught signal SIG$signal" >&2
fi
rm -rf "$tmp"
- exit $exit_status' 0
-for signal in 1 2 3 13 15; do
+ exit $exit_status' EXIT
+for signal in HUP INT QUIT PIPE TERM; do
trap '{ signal='$signal'; func_exit 1; }' $signal
done
-signal=0
+signal=EXIT
# Compile lib/gen-uni-tables.c in a temporary directory
: ${CC=gcc}