diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-01 23:52:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-01 23:52:07 +1300 |
commit | 20bc516cd95f5ad9b9ea811718271b10b0d89d66 (patch) | |
tree | 80af5a8b471074a3128dcc4beb5684b52b64f292 /bin/shb | |
parent | setterm(1) isn't as standard as I thought (diff) | |
download | dotfiles-20bc516cd95f5ad9b9ea811718271b10b0d89d66.tar.gz dotfiles-20bc516cd95f5ad9b9ea811718271b10b0d89d66.zip |
Remove -p from shb(1df) command search
NetBSD doesn't allow -p and -v to be used in the same call.
Diffstat (limited to 'bin/shb')
-rwxr-xr-x | bin/shb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ scr=$1 intn=$2 shift 2 # Try and find the path to the interpreter command, bail out if we can't -if ! intp=$(command -pv "$intn" 2>/dev/null) ; then +if ! intp=$(command -v "$intn" 2>/dev/null) ; then printf >&2 '%s: %s: command not found\n' "$self" "$intn" exit 1 fi |