mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: Fix fixdeps() bug.
This commit is contained in:
parent
5c813b3609
commit
7a936123f6
4
kiss
4
kiss
@ -470,6 +470,8 @@ pkg_fixdeps() {
|
||||
# dependencies pulled in by the package's build suite.
|
||||
log "$1" "Checking for missing dependencies"
|
||||
|
||||
pkg_name=$1
|
||||
|
||||
# Go to the built package directory to simplify path building.
|
||||
cd "$pkg_dir/$1/$pkg_db/$1"
|
||||
|
||||
@ -499,7 +501,7 @@ pkg_fixdeps() {
|
||||
|
||||
# Skip listing these packages as dependencies.
|
||||
case $dep in
|
||||
musl|gcc|llvm|"${OLDPWD##*/}"|"${OLDPWD##*/}-bin"|"") ;;
|
||||
musl|gcc|llvm|"$pkg_name"|"$pkg_name-bin"|"") ;;
|
||||
*) printf '%s\n' "$dep"
|
||||
esac
|
||||
done ||:
|
||||
|
Loading…
Reference in New Issue
Block a user