aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-04 06:13:43 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-04 06:13:43 +0000
commitc1b3c66bc86f1edf60d89f321451a8dd63a71681 (patch)
tree5e6cfba16696aef26abda870a78974e1baf73bf1
parentec55dc99c5be32a2eaa7fe0ecd276acf372232af (diff)
downloadcpt-c1b3c66bc86f1edf60d89f321451a8dd63a71681.tar.gz
kiss: clean up
FossilOrigin-Name: df4b7a37ffb9c93e200e42696df2c1227d222a9a51a60ed4ded8c71ddf0af6d0
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
diff --git a/kiss b/kiss
index 8ceddd5..d4676b5 100755
--- a/kiss
+++ b/kiss
@@ -201,7 +201,9 @@ pkg_extract() {
# Local files (Any source that is non-remote is assumed to be local).
*)
- [ -f "$repo_dir/$src" ] || die "[$1]: Local file $src not found."
+ [ -f "$repo_dir/$src" ] ||
+ die "[$1]: Local file $src not found."
+
cp -f "$repo_dir/$src" "./$dest"
;;
esac