index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-03-14 20:47:05 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-03-18 12:47:44 +1000 |
commit | 9ca88575e60adfb930ae2bf6e05f36cf40fdec21 (patch) | |
tree | 90ce9095883b4bb481a7481eb652c16b7d47c72a /scripts/libmakepkg | |
parent | 9e52a36794552b77ecf26f7f34b226d096978f1e (diff) |
-rw-r--r-- | scripts/libmakepkg/util/pkgbuild.sh.in | 3 |
diff --git a/scripts/libmakepkg/util/pkgbuild.sh.in b/scripts/libmakepkg/util/pkgbuild.sh.in index dcfc6264..25ad03ce 100644 --- a/scripts/libmakepkg/util/pkgbuild.sh.in +++ b/scripts/libmakepkg/util/pkgbuild.sh.in @@ -150,9 +150,8 @@ print_all_package_names() { local architecture pkg opts a for pkg in ${pkgname[@]}; do architecture=$(get_pkg_arch $pkg) - get_pkgbuild_attribute "$pkg" 'options' 1 opts printf "%s/%s-%s-%s%s\n" "$PKGDEST" "$pkg" "$version" "$architecture" "$PKGEXT" - if in_opt_array "debug" ${opts[@]} && in_opt_array "strip" ${opts[@]}; then + if check_option "debug" "y" && check_option "strip" "y"; then printf "%s/%s-%s-%s-%s%s\n" "$PKGDEST" "$pkg" "@DEBUGSUFFIX@" "$version" "$architecture" "$PKGEXT" fi done |