From: Asperatus Date: Fri, 13 May 2022 18:07:17 +0000 (-0400) Subject: xdg-ninja: security and readability fixes X-Git-Tag: v0.2.0.0~88 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/a0c13c19b8deb711deafaaaa0d2dec1d5dea0e31?hp=a0c13c19b8deb711deafaaaa0d2dec1d5dea0e31 xdg-ninja: security and readability fixes Here are the various fixes done: - printf can interpret sequences, therefore you want to give variable as a different argument - ! [ -z "$VAL" ] <=> [ -n "$VAL" ] <=> [ "$VAL" ] - double quote on variables to prevent globbing and word splitting ---