Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=b72e2a1f76fd6321d5f6042f4e361f0145654262
commit b72e2a1f76fd6321d5f6042f4e361f0145654262 Author: Michel Hermier <[email protected]> Date: Sun Nov 25 11:28:36 2012 +0100 scripts/makepkg * Declare a makepkg main function entry point. diff --git a/scripts/makepkg b/scripts/makepkg index b4bea21..b6334b4 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -1873,6 +1873,12 @@ makepkg_document() { \) -exec install -pm 644 '{}' pkg/usr/share/doc/$pkgname-$pkgver/ \; } +makepkg_main() { + declare -r ARGLIST=$@ + makepkg_loadconfig + makepkg_parseargs "$@" +} + # # Package fixes that may go to a library (user helpers) # @@ -1975,11 +1981,7 @@ _P_subpkgsfixes+=(_pkg_check_hicolor) # Main Code Start here # -makepkg_loadconfig - -ARGLIST=$@ - -makepkg_parseargs "$@" +makepkg_main "$@" # see if we need to append bases to $TREE if ! echo $TREE |grep -q ,; then _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
