kiss: Fix IFS fix

This commit is contained in:
Dylan Araps 2020-04-20 12:14:25 +03:00
parent c13a48dec2
commit 9ace6a1b83
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -129,7 +129,7 @@ pkg_find() {
done done
done done
IFS= unset IFS
# A package may also not be found due to a repository not being # A package may also not be found due to a repository not being
# readable by the current user. Either way, we need to die here. # readable by the current user. Either way, we need to die here.
@ -1086,7 +1086,7 @@ pkg_updates() {
# Create a list of all repositories. # Create a list of all repositories.
# See [1] at top of script. # See [1] at top of script.
# shellcheck disable=2046,2086 # shellcheck disable=2046,2086
{ IFS=:; set -- $KISS_PATH; IFS=; } { IFS=:; set -- $KISS_PATH; unset IFS; }
# Update each repository in '$KISS_PATH'. It is assumed that # Update each repository in '$KISS_PATH'. It is assumed that
# each repository is 'git' tracked. # each repository is 'git' tracked.