]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - xdg-ninja.sh
Fix disclaimer
[xdg-ninja.git] / xdg-ninja.sh
index 6c8a2f200daff1e819659bd4fc10206c8d2a6522..e398f4a2c3113ae37e1a9b349707cadacd08653a 100755 (executable)
@@ -129,9 +129,9 @@ log() {
         ;;
 
     HELP)
-        if $USE_GLOW; then
+        if [ "$USE_GLOW" = true ]; then
             decode_string "$HELP" | glow -
-        elif $USE_BAT; then
+        elif [ "$USE_BAT" = true ]; then
             decode_string "$HELP" | bat -pp --decorations=always --color=always --language markdown
         else
             decode_string "$HELP"
@@ -157,7 +157,7 @@ check_file() {
         ;;
 
     1)
-        if "$MOVABLE"; then
+        if [ "$MOVABLE" = true ]; then
             log ERR "$NAME" "$FILENAME" "$HELP"
         else
             log WARN "$NAME" "$FILENAME" "$HELP"