diff options
author | merakor <cem@ckyln.com> | 2020-05-29 12:16:25 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-29 12:16:25 +0000 |
commit | c94736abbacb52987947ddabcd247fa6a4d02cf9 (patch) | |
tree | 9185b1ad87c08024ebd0a60f0d1e1b40c97c6983 | |
parent | f2c089a836ecc8a5e8ae8f67fa1ed48ad0574181 (diff) | |
download | cpt-c94736abbacb52987947ddabcd247fa6a4d02cf9.tar.gz |
kiss: fix printing empty strip options when the file wasn't stripped
FossilOrigin-Name: 57c1bf9eb509a18d92a0383df51686afb2053bece7da94f95b672df880f7c247
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ||: } |