index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2018-05-08 15:31:58 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-08-10 12:37:19 +1000 |
commit | 7edbbd9a638ec864b42f14cb2dea631c383aebbb (patch) | |
tree | da5981a72b185d7e4b7ba69c26f471bef5b9c2a2 /scripts | |
parent | f2788244d322ca5ac45482d25747fe56176b72af (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 9 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 49d9e3ad..bf31786b 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -496,14 +496,7 @@ run_check() { } run_package() { - local pkgfunc - if [[ -z $1 ]]; then - pkgfunc="package" - else - pkgfunc="package_$1" - fi - - run_function_safe "$pkgfunc" + run_function_safe "package${1:+_$1}" } find_libdepends() { |