]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - xdg-ninja.sh
Fix disclaimer
[xdg-ninja.git] / xdg-ninja.sh
index 3c9054a060210605429d0432cc70c700b0827353..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"