kiss: use variable from parent

This commit is contained in:
Dylan Araps 2020-09-14 20:34:47 +03:00
parent 6f426a1149
commit 2f6270e063
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 5 additions and 7 deletions

12
kiss
View File

@ -410,8 +410,6 @@ pkg_fixdeps() {
# dependencies pulled in by the package's build suite.
log "$1" "Checking for missing dependencies"
pkg_name=$1
cd "$pkg_dir/$1/$pkg_db/$1"
set +f
@ -449,11 +447,11 @@ pkg_fixdeps() {
# Skip listing some packages as dependencies.
case $dep in
gcc |\
llvm |\
"${pkg_name%%-bin}" |\
"${pkg_name%%-esr}" |\
"${pkg_name%%-esr-bin}" |\
gcc |\
llvm |\
"${pkg%%-bin}" |\
"${pkg%%-esr}" |\
"${pkg%%-esr-bin}" |\
"")
continue
;;