From e3f704258be2226ec3a1f6aa0546e6bb5c515da9 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 9 Jul 2019 16:48:54 -0400 Subject: [PATCH] check for weasel-pageant before evaling it --- bin/weasel-pageant.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/weasel-pageant.bash b/bin/weasel-pageant.bash index faa7edb..5448441 100644 --- a/bin/weasel-pageant.bash +++ b/bin/weasel-pageant.bash @@ -1,2 +1,3 @@ #!/bin/bash -eval $(~/winhome/Downloads/weasel-pageant-1.3/weasel-pageant -r) +WEASEL_HOME=~/winhome/Downloads/weasel-pageant-1.3 +test -f $WEASEL_HOME/weasel-pageant && eval $($WEASEL_HOME/weasel-pageant -rb -a $HOME/.weasel-pageant.sock) || true