diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 10:37:45 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 10:37:45 +1200 |
commit | 3faee8ab3274c1df25a9806526bcb7466be7107a (patch) | |
tree | afc4f1f0f1b8ff9dfea888d997a5df6e6c1082fe /bin/rndl | |
parent | Change try(1) to POSIX sh(1) (diff) | |
download | dotfiles-3faee8ab3274c1df25a9806526bcb7466be7107a.tar.gz dotfiles-3faee8ab3274c1df25a9806526bcb7466be7107a.zip |
Ignore SC2064 from shellcheck
We actually want the behaviour it thinks is erroneous.
In bin/try line 39:
trap "cleanup $sig" "$sig"
^-- SC2064: Use single quotes, otherwise this
expands now rather than when signalled.
Diffstat (limited to 'bin/rndl')
-rwxr-xr-x | bin/rndl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ if [ "$#" -eq 0 ] ; then fi } for sig in EXIT HUP INT TERM ; do + # shellcheck disable=SC2064 trap "cleanup $sig" "$sig" done td=$(mktd rndl) || exit |