aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 22:46:11 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 22:46:11 +0000
commit2946a4efd6333eb989eb36e52da76e76a8d8d82c (patch)
tree8218eb38912d146174ff5502b682e2a7f70580b6 /kiss
parentc60980153c10f7e71e124066c41ee3a643c82ad1 (diff)
downloadcpt-2946a4efd6333eb989eb36e52da76e76a8d8d82c.tar.gz
kiss: Remove unneeded variable
FossilOrigin-Name: 5908beb0076156f1255843229f1fe35764fdac02f6e0602da9b6202e911b74e8
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss6
1 files changed, 2 insertions, 4 deletions
diff --git a/kiss b/kiss
index 3bd6be7..5983b70 100755
--- a/kiss
+++ b/kiss
@@ -902,12 +902,10 @@ pkg_install() {
read -r version release < "$(pkg_find "$1")/version"
# Construct the name of the package tarball.
- tar_name=$1\#$version-$release.tar.gz
+ tar_file=$bin_dir/$1\#$version-$release.tar.gz
- [ -f "$bin_dir/$tar_name" ] ||
+ [ -f "$tar_file" ] ||
die "Package '$1' has not been built, run 'kiss build $1'"
-
- tar_file=$bin_dir/$tar_name
fi
# Figure out which package the tar-ball installs by checking for