aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-cat
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-11 15:37:25 +0000
committermerakor <cem@ckyln.com>2021-01-11 15:37:25 +0000
commit74a5dee3e447126f6c206b3427975837d7a7e0a6 (patch)
treeb4d8eb2e4993292fbfaee85d94d1291fb199c57f /contrib/cpt-cat
parentae42d4a74240d452864cdf16ce2ac2cbbdb5fc68 (diff)
parent35eae466d69f619d3e2c8f931dcb74225d817b5f (diff)
downloadcpt-74a5dee3e447126f6c206b3427975837d7a7e0a6.tar.gz
Merge branch 'master' into shellspec
FossilOrigin-Name: 94848f85f007179374152acd12dbb17a983411237b758a5941009696e90ed271
Diffstat (limited to 'contrib/cpt-cat')
-rwxr-xr-xcontrib/cpt-cat4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cpt-cat b/contrib/cpt-cat
index be0ab56..b8dc34b 100755
--- a/contrib/cpt-cat
+++ b/contrib/cpt-cat
@@ -17,7 +17,7 @@ cpt-list "$pkg" >/dev/null
[ "$1" ] || set -- build depends sources version
for file; do
- [ -f "/var/db/cpt/installed/$pkg/$file" ] || continue
+ [ -f "$CPT_ROOT/var/db/cpt/installed/$pkg/$file" ] || continue
printf '\033[1m%s:\033[m\n' "$file" >&2
- cat "/var/db/cpt/installed/$pkg/$file"
+ cat "$CPT_ROOT/var/db/cpt/installed/$pkg/$file"
done