summary refs log tree commit diff stats
path: root/install
diff options
context:
space:
mode:
authorAlan Pearce2014-04-10 20:10:05 +0100
committerAlan Pearce2014-04-10 20:10:05 +0100
commit70dbdab03afdd27279c300bf3c3ff4b90e183bc6 (patch)
tree08d3aa2dbf09d762d9b651cea20518ff7aca087a /install
parentdb9f688ce7596d8a25a85599a7eaa6911c60aff4 (diff)
downloaddotfiles-70dbdab03afdd27279c300bf3c3ff4b90e183bc6.tar.lz
dotfiles-70dbdab03afdd27279c300bf3c3ff4b90e183bc6.tar.zst
dotfiles-70dbdab03afdd27279c300bf3c3ff4b90e183bc6.zip
Use correct switch for testing commands
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 20e72e5..9176902 100755
--- a/install
+++ b/install
@@ -49,7 +49,7 @@ then
 	install-dot projects/dwm/ $target/dwm/*
 fi
 
-if [[ -z $commands[emacs] ]]
+if [[ -s $commands[emacs] ]]
 then
 	emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/
 fi