summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-01-31 14:56:29 -0600
committerzachir <zachir@librem.one>2023-01-31 14:56:29 -0600
commitbd946058a8f68baf25764c20e24924b5fe194920 (patch)
treed0b7a4369204b40e4ea5ee3c45e5a4b0fcd65aff
parentb443dc867bfb6dd1619665b45fa9918aad08783d (diff)
fix error message with dash
-rwxr-xr-xbrowser2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser b/browser
index 4ac15cc..7aba898 100755
--- a/browser
+++ b/browser
@@ -6,7 +6,7 @@ bsc
ffc
lwc
brave"
-if [ `echo "$@" | cut -d'/' -f3` == "yewtu.be" ]; then
+if [ "`echo "$@" | cut -d'/' -f3`" = "yewtu.be" ]; then
BROWSERS=`printf "mpv\n%s" "$BROWSERS"`
fi
brow=`printf "xclip\n%s" "$BROWSERS" | barmenu -l 15`