diff options
-rw-r--r-- | scripts/makepkg.sh.in | 9 |
1 files changed, 1 insertions, 8 deletions
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() { |