1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

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

12
kiss
View File

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