aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-13 18:09:24 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-13 18:09:24 +0000
commit55ae576dfa747a985e777ab09da62ec971f8aa22 (patch)
tree12a5ac4fb51e8618b3efc1a27eab2e39d5f63b6d /kiss
parenta46986e88caf2eacd6fcf6c64d69dd5d43a88780 (diff)
downloadcpt-55ae576dfa747a985e777ab09da62ec971f8aa22.tar.gz
kiss: better variable name
FossilOrigin-Name: 16dcdc679fc5b0124dae14c7c89911e70b47b0ed3b658ecdcad97ff8be23d61e
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss10
1 files changed, 5 insertions, 5 deletions
diff --git a/kiss b/kiss
index 86196f4..0142d9b 100755
--- a/kiss
+++ b/kiss
@@ -347,7 +347,7 @@ pkg_build() {
# Store the explicit packages so we can handle them differently
# below. Dependencies are automatically installed but packages
# passed to KISS aren't.
- explicit_packages=" $* "
+ explicit=" $* "
# Set the resolved dependency list as the function's arguments.
set -- $deps
@@ -356,7 +356,7 @@ pkg_build() {
# whether or not they are installed. Ensure that all explicit packages
# are included and ensure that all installed packages are excluded.
for pkg; do
- case $explicit_packages in
+ case $explicit in
*" $pkg "*) ;;
*) pkg_list "$pkg" >/dev/null && continue ;;
esac
@@ -387,7 +387,7 @@ pkg_build() {
for pkg; do
# Don't check for a pre-built package if it was passed to KISS
# directly.
- case $explicit_packages in
+ case $explicit in
*" $pkg "*)
shift
set -- "$@" "$pkg"
@@ -471,7 +471,7 @@ pkg_build() {
# Install only dependencies of passed packages.
# Skip this check if this is a package update.
- case $explicit_packages in
+ case $explicit in
*" $pkg "*) [ "$pkg_update" ] || continue
esac
@@ -485,7 +485,7 @@ pkg_build() {
log "Successfully built package(s)"
# Turn the explicit packages into a 'list'.
- set -- $explicit_packages
+ set -- $explicit
# Only ask for confirmation if more than one package needs to be installed.
[ $# -gt 1 ] && {