cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 2fa6d29f165d494dc9871c356489bf2898b6568d
parent ff80aa1984b0f46d0b914020990172e8dfcddbea
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 11 Sep 2019 08:10:46 +0300

kiss: clean up

Diffstat:
Mkiss | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kiss b/kiss @@ -132,7 +132,7 @@ pkg_sources() { } ;; - # Local files (sources that are non-remote are assumed to be local). + # Local source. *) [ -f "$repo_dir/$src" ] || die "[$1] No local file '$src'" @@ -158,10 +158,10 @@ pkg_extract() { # allows you to extract them manually. *://*.tar*|*://*.tgz) tar xf "$src_dir/$1/${src##*/}" --strip-components 1 \ - || die "[$1] Couldn't extract ${src##*/}" + || die "[$1] Couldn't extract ${src##*/}" ;; - # Local files (Any non-remote source is assumed to be local). + # Local source. *) if [ -f "$repo_dir/$src" ]; then cp -f "$repo_dir/$src" .