From c94736abbacb52987947ddabcd247fa6a4d02cf9 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 29 May 2020 12:16:25 +0000 Subject: kiss: fix printing empty strip options when the file wasn't stripped FossilOrigin-Name: 57c1bf9eb509a18d92a0383df51686afb2053bece7da94f95b672df880f7c247 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index cfc565b..e502437 100755 --- 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 ||: } -- cgit v1.2.3