scripts/*.sh.in: Fix signal handler error messages
commit241946cceaf4c90624794a17c6a13661ea9862a9
authorLukas Fleischer <archlinux@cryptocrack.de>
Thu, 13 Oct 2011 15:23:20 +0000 (13 17:23 +0200)
committerDan McGee <dan@archlinux.org>
Thu, 13 Oct 2011 16:20:12 +0000 (13 11:20 -0500)
tree2175dfbc21cf6445c24c49dc8cd31424be4db21c
parentd4c97ea2f64cafd3e14e2817d2b805f0b0d541f1
scripts/*.sh.in: Fix signal handler error messages

This includes some fixes to the messages that are displayed when a
signal is caught in makepkg or repo-add:

* Instead of always showing "==> ERROR: TERM signal caught. Exiting...",
  replace "TERM" by whatever signal is actually caught.

* Fix a typo in the SIGERR error message in repo-add ("occurred" instead
  of "occured"). Francois already fixed this for makepkg in 1e51b81c.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in
scripts/repo-add.sh.in