about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2017-12-14 12:35:51 +0100
committerGitHub <noreply@github.com>2017-12-14 12:35:51 +0100
commit0c42a4198c2d9dfdba5b2af22414dca3dc7db2a2 (patch)
treeee6f14a55d34a87bfb5920ddf590939a2ee2d802
parentface63d7e726ab2ed5b5acb0c80dcbd42371802f (diff)
downloadranger-0c42a4198c2d9dfdba5b2af22414dca3dc7db2a2.tar.gz
rifle_sxiv.sh: be POSIX, single = for string eq
-rwxr-xr-xexamples/rifle_sxiv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index 8cb13907..0bdd892d 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -24,7 +24,7 @@ if [ $# -eq 0 ]; then
     exit
 fi
 
-[ "$1" == '--' ] && shift
+[ "$1" = '--' ] && shift
 
 abspath () {
     case "$1" in