summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-01-04 10:51:41 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-01-06 11:28:31 -0700
commitade7fcd2385ae6ac655fb7ade7345d5fbd12ba8e (patch)
treead49d247d9e6da7d581ffb33f657d0b3de512322 /bin/emacsclient
parent5232cfd0ec6a37cc25216a573bdd5eb424fe6ecb (diff)
downloaddotfiles-ade7fcd2385ae6ac655fb7ade7345d5fbd12ba8e.tar.gz
emacsclient wrapper: fix some missing quotation
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-xbin/emacsclient8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index c0281cf6..4bbf097c 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -38,10 +38,10 @@ args=
devel_emacs="$HOME/src/emacs/primary/src/emacs"
devel_emacsclient="$HOME/src/emacs/primary/lib-src/emacsclient"
-installed_emacs=$(command -v emacs)
-installed_emacsclient=$(PATH=$(echo "$PATH" \
- | sed -e "s#$HOME/src/dotfiles/bin:##") \
- command -v emacsclient)
+installed_emacs="$(command -v emacs)"
+installed_emacsclient="$(PATH=$(echo "$PATH" \
+ | sed -e "s#$HOME/src/dotfiles/bin:##") \
+ command -v emacsclient)"
for cmd in bash flock inotifywait perl pwdx ss; do
command -v $cmd >/dev/null || exec "$installed_emacsclient" -a "" "$@"