forked from kiss-community/kiss
kiss: use variable from parent
This commit is contained in:
parent
6f426a1149
commit
2f6270e063
12
kiss
12
kiss
@ -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
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user