aboutsummaryrefslogtreecommitdiff
path: root/other/cpt-changelog
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-25 11:25:36 +0300
committerCem Keylan <cem@ckyln.com>2020-07-25 11:25:36 +0300
commit38e3bef4a6acd767f5664c773911f8a97fb3ca09 (patch)
treee23dc117c86e4a3a00cd3e28b538a79f0f6e69b5 /other/cpt-changelog
parent47a3723632b82a0d3caf79dbe8ada1eae60dd976 (diff)
downloadcpt-extra-master.tar.gz
cpt-extra: change kiss commands to cpt commandsHEAD20200725master
Diffstat (limited to 'other/cpt-changelog')
-rwxr-xr-xother/cpt-changelog4
1 files changed, 2 insertions, 2 deletions
diff --git a/other/cpt-changelog b/other/cpt-changelog
index ed323d8..92a8089 100755
--- a/other/cpt-changelog
+++ b/other/cpt-changelog
@@ -3,8 +3,8 @@
case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg]"; exit 0; esac
-kiss s "$1" >/dev/null
-cd "$(kiss s "$1" | sed 1q)"
+cpt-search "$1" >/dev/null
+cd "$(cpt-search --single "$1")"
# Pipe to cat so it doesn't automatically paged
# by git.