diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-11 06:16:43 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-11 06:16:43 +0000 |
commit | 1f7805df73d497e7c13a5ae2f4c614b18929e46c (patch) | |
tree | 0c0f0e9d5a457fbc1d01c0aef0acd7cd7f1bd2ef | |
parent | 76d5c7cd03721d83a581cbc4064c6763d7464f56 (diff) | |
download | cpt-1f7805df73d497e7c13a5ae2f4c614b18929e46c.tar.gz |
kiss: clean up
FossilOrigin-Name: 4dc2a39a1d9ae9a8815b9a3b2fc7c349a61c13cb7d6c74d83a79cb7df47c3aa4
-rwxr-xr-x | kiss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -148,11 +148,12 @@ pkg_extract() { || die "[$1] Couldn't extract ${src##*/}" ;; - # Local source. *) + # Local file. if [ -f "$repo_dir/$src" ]; then cp -f "$repo_dir/$src" . + # Remote file. elif [ -f "$src_dir/$1/${src##*/}" ]; then cp -f "$src_dir/$1/${src##*/}" . |