misc: nits

This commit is contained in:
Dylan Araps 2021-07-26 08:02:38 +03:00
parent 569554d315
commit 4f4af4aac3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -1564,8 +1564,8 @@ pkg_update_repo() {
# Hook can tell the package manager to use a different path.
# arg1: update-resolve
# arg2: path to repository
_pwd_res=$(run_hook update-resolve "$repo") repo=${_pwd_res:-"$repo"}
# env: PWD is path to repository
_pwd_res=$(run_hook update-resolve) repo=${_pwd_res:-"$repo"}
cd "$repo" || die "Repository '$repo' inaccessible"