mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-22 18:18:59 +00:00
fix shellcheck linter
This commit is contained in:
parent
8ceeca8769
commit
6955719f04
2
Makefile
2
Makefile
@ -26,4 +26,4 @@ test:
|
||||
make -C extras/test
|
||||
|
||||
lint:
|
||||
shellcheck -s zsh -e SC1073,SC1027,SC1072,SC1083,SC1009 tomb
|
||||
shellcheck -s bash -e SC1058,SC1073,SC1072,SC1009 tomb
|
||||
|
18
tomb
18
tomb
@ -183,15 +183,15 @@ _endgame() {
|
||||
}
|
||||
|
||||
# Trap functions for the _endgame event
|
||||
TRAPINT() { _endgame INT }
|
||||
TRAPEXIT() { _endgame EXIT }
|
||||
TRAPHUP() { _endgame HUP }
|
||||
TRAPQUIT() { _endgame QUIT }
|
||||
TRAPABRT() { _endgame ABORT }
|
||||
TRAPKILL() { _endgame KILL }
|
||||
TRAPPIPE() { _endgame PIPE }
|
||||
TRAPTERM() { _endgame TERM }
|
||||
TRAPSTOP() { _endgame STOP }
|
||||
TRAPINT() { _endgame INT; }
|
||||
TRAPEXIT() { _endgame EXIT; }
|
||||
TRAPHUP() { _endgame HUP; }
|
||||
TRAPQUIT() { _endgame QUIT; }
|
||||
TRAPABRT() { _endgame ABORT; }
|
||||
TRAPKILL() { _endgame KILL; }
|
||||
TRAPPIPE() { _endgame PIPE; }
|
||||
TRAPTERM() { _endgame TERM; }
|
||||
TRAPSTOP() { _endgame STOP; }
|
||||
|
||||
_is_found() {
|
||||
# returns 0 if binary is found in path
|
||||
|
Loading…
Reference in New Issue
Block a user