31 May
2018
31 May
'18
6:24 p.m.
--- scripts/makepkg.sh.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 748481e4..4684e444 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -495,14 +495,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() { -- 2.17.0