diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-17 10:16:35 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-17 10:20:31 -0700 |
commit | df898f94bb0b2a552ce4c09e42dc29673eedc179 (patch) | |
tree | 5dfc7104a9583dce4b4758ab384c4cd7c160df18 /bin/emacsclient | |
parent | 37e9061c0f8caa953b5a0adb1a3c4329930ac749 (diff) | |
download | dotfiles-df898f94bb0b2a552ce4c09e42dc29673eedc179.tar.gz |
emacsclient wrapper: check for getopt(1)
Not necessary because if the attempt to invoke getopt(1) fails we call the
defer function anyway, but this has documentation value.
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-x | bin/emacsclient | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emacsclient b/bin/emacsclient index 82d05976..a8268fd0 100755 --- a/bin/emacsclient +++ b/bin/emacsclient @@ -64,7 +64,7 @@ defer () { [ -n "$BASH_VERSION" ] \ || { command -v bash >/dev/null && exec bash "$0" "$@" || defer "$@"; } -for cmd in flock inotifywait pwdx ss; do +for cmd in getopt flock inotifywait pwdx ss; do command -v $cmd >/dev/null || defer "$@" done |