aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-29 12:16:25 +0000
committermerakor <cem@ckyln.com>2020-05-29 12:16:25 +0000
commitc94736abbacb52987947ddabcd247fa6a4d02cf9 (patch)
tree9185b1ad87c08024ebd0a60f0d1e1b40c97c6983 /kiss
parentf2c089a836ecc8a5e8ae8f67fa1ed48ad0574181 (diff)
downloadcpt-c94736abbacb52987947ddabcd247fa6a4d02cf9.tar.gz
kiss: fix printing empty strip options when the file wasn't stripped
FossilOrigin-Name: 57c1bf9eb509a18d92a0383df51686afb2053bece7da94f95b672df880f7c247
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
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 ||:
}