aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2022-02-02 09:43:05 +0000
committermerakor <cem@ckyln.com>2022-02-02 09:43:05 +0000
commitc0a512c8b01ad074d6203e80f7be721e12df24cd (patch)
tree23d67298f6e2651a249d3904415810dfedd58f2e /contrib
parent4e92df1b2e1c18898a3438ff0b188bdfaba3664a (diff)
downloadcpt-c0a512c8b01ad074d6203e80f7be721e12df24cd.tar.gz
cpt-manifest-tree: adapt script to the new version of tree(1)
FossilOrigin-Name: 521b34d2dd38b78dffb2e6417a0249556cf442dcb339a73021fef7c913820a95
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cpt-manifest-tree2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cpt-manifest-tree b/contrib/cpt-manifest-tree
index 599c0bd..bc38bc2 100755
--- a/contrib/cpt-manifest-tree
+++ b/contrib/cpt-manifest-tree
@@ -21,4 +21,4 @@ case "$1" in
esac
cpt-list "$1" >/dev/null
printf '%s\n' "[$1]:"
-tree -C --fromfile "$CPT_ROOT/var/db/cpt/installed/$1/manifest" | sed 1,2d
+tree -C --fromfile "$CPT_ROOT/var/db/cpt/installed/$1/manifest" | sed 1d