]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Use = instead of ==
authorb3nj4m1n <b3nj4m1n@gmx.net>
Sat, 14 May 2022 10:35:31 +0000 (12:35 +0200)
committerb3nj4m1n <b3nj4m1n@gmx.net>
Sat, 14 May 2022 10:35:31 +0000 (12:35 +0200)
xdg-ninja.sh

index 5a51bc62afbf2aaf4dcf568e01d446aaf59e612d..ee84cf0634da9675b6d018eae6f367f29815542c 100755 (executable)
@@ -31,14 +31,14 @@ HELPSTRING="""\
 
 SKIP_OK=true
 for i in "$@"; do
-    if [ "$i" == "--help" ] || [ "$i" == "-h" ]; then
+    if [ "$i" = "--help" ] || [ "$i" = "-h" ]; then
         printf "%b" "$HELPSTRING"
         exit
-    elif [ "$i" == "--skip-ok" ]; then
+    elif [ "$i" = "--skip-ok" ]; then
         SKIP_OK=true
-    elif [ "$i" == "--no-skip-ok" ]; then
+    elif [ "$i" = "--no-skip-ok" ]; then
         SKIP_OK=false
-    elif [ "$i" == "-v" ]; then
+    elif [ "$i" = "-v" ]; then
         SKIP_OK=false
     fi
 done