diff options
author | Alex <alescdb@users.noreply.github.com> | 2015-09-04 23:19:34 +0200 |
---|---|---|
committer | Alex <alescdb@users.noreply.github.com> | 2015-09-04 23:19:34 +0200 |
commit | 79e6ef48a6738065821d9fbc984221f399acbcb3 (patch) | |
tree | 1328a11579b5cce98b7aa3d28528f4dd0fa48427 /scripts | |
parent | dafabce039b18fe8be0d25623b59c53f17d06805 (diff) | |
download | connectbot-79e6ef48a6738065821d9fbc984221f399acbcb3.tar.gz connectbot-79e6ef48a6738065821d9fbc984221f399acbcb3.tar.bz2 connectbot-79e6ef48a6738065821d9fbc984221f399acbcb3.zip |
trap ERR & EXIT
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-lint-count.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-lint-count.sh b/scripts/check-lint-count.sh index 4d7c8f3..5184e13 100755 --- a/scripts/check-lint-count.sh +++ b/scripts/check-lint-count.sh @@ -26,7 +26,7 @@ if [[ ! -f $historical_file ]]; then \ fi tmp_dir="$(mktemp -d lint.XXXXXXXX)" -trap "rm -rf $tmp_dir" 1 2 3 6 9 14 15 +trap "rm -rf $tmp_dir" ERR EXIT lint_results="$tmp_dir/lint.txt" hist_results="$tmp_dir/hist.txt" |