[pacman-dev] [PATCH v3 1/2] makepkg: Move parseopts from library to libmakepkg

Allan McRae allan at archlinux.org
Sun Oct 9 13:00:12 UTC 2016


On 09/10/16 03:34, Alad Wenter wrote:
> parseopts is used in makepkg and other scripts such as pacman-key as a
> getopt replacement.
> 
> Instead of including it in those scripts via a macro, move it to
> libmakepkg/util/option.sh and have scripts source libmakepkg where
> appropriate.
> 
> To keep the parseopts test, a new variable was introduced:
> PM_LIBMAKEPKG_DIR
> 
> Signed-off-by: Alad Wenter <alad at archlinux.info>


Review:

1) move this to its own file:  util/parseopts.sh
2) only source that file
3) don't touch po files.

A


More information about the pacman-dev mailing list