Browse Source

replace signal numbers in trap with their according signal names

Get rid of:

| possible bashism in source/build-and-provide-package
| line 41 (trap with signal numbers):trap bailout 1 2 3 3 6 9 14 15
merge-requests/109/head
Michael Prokop 10 years ago
parent
commit
ea7394447d
  1. 2
      scripts/build-and-provide-package
  2. 2
      scripts/repository_checker

2
scripts/build-and-provide-package

@ -459,7 +459,7 @@ binaries_to_workspace() {
}
# main execution
trap bailout 1 2 3 6 9 14 15
trap bailout SIGHUP SIGINT SIGQUIT SIGABRT SIGKILL SIGALRM SIGTERM
checks_and_defaults
clean_workspace

2
scripts/repository_checker

@ -117,7 +117,7 @@ validate-source-bin-versions() {
}
trap bailout 1 2 3 6 9 14 15
trap bailout SIGHUP SIGINT SIGQUIT SIGABRT SIGKILL SIGALRM SIGTERM
# command line handling
CMDLINE_OPTS=list-package:,list-binary-package:,list-binary-repos:,list-repos:,list-source-package:,list-source-repos:,repository:,,help,validate-incoming,validate-source-bin-versions,version

Loading…
Cancel
Save