commit f14dc268f34d5140a8116cafe1eafc1d45421447 parent cff3f4c73d93194a0fe67399534b9cd6461f55e1 Author: Cem Keylan <cem@ckyln.com> Date: Fri, 29 May 2020 15:16:25 +0300 kiss: fix printing empty strip options when the file wasn't stripped Diffstat:
M | kiss | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kiss b/kiss @@ -479,7 +479,7 @@ pkg_strip() { strip_opt=UNNEEDED ;; esac - printf 'Stripped %10s %s\n' "($strip_opt)" "${file##$pkg_dir/$1}" + [ "$strip_opt" ] && printf 'Stripped %10s %s\n' "($strip_opt)" "${file##$pkg_dir/$1}" done 2>/dev/null ||: }