aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-24 13:54:28 +0000
committermerakor <cem@ckyln.com>2020-07-24 13:54:28 +0000
commite25a4e8b345699c1e3feff3ed5543ffa10af4f43 (patch)
treeeb8f78fd3f5ed8fa97498f7ca545c3a2e017010a
parente62fe9c6f6ffab2cf69f5725ca07920b431eea7b (diff)
downloadcpt-e25a4e8b345699c1e3feff3ed5543ffa10af4f43.tar.gz
cpt: ignore cpt-lib as well
FossilOrigin-Name: 733584408557420c74a045dc235b58e5cb88b3a544fd1b8d670e1d451e9cc850
-rwxr-xr-xcpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpt b/cpt
index 3add8b6..9585330 100755
--- a/cpt
+++ b/cpt
@@ -14,8 +14,8 @@ case "$arg" in
done
for path; do
- # These are binary files so they should be ignored
- contains "readlink stat" "$path" && continue
+ # These are the files to be ignored.
+ contains "lib readlink stat" "$path" && continue
printf "%b->%b %-${max}s " "${color:+\033[1;31m}" "${color:+\033[m}" "${path#*/cpt-}"
sed -n 's/^# *//;2p' "$(command -v "cpt-$path")"