diff options
author | Andres P <aepd87@gmail.com> | 2010-05-25 23:02:07 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-27 16:18:52 +0200 |
commit | fe1e3471f47d9da3bac4cedce250cd2ce04368b4 (patch) | |
tree | d363b4409a987b79fe846d8d81852a2287a81f67 /lib/libalpm/alpm.h | |
parent | 3064f8d08d8f8048aa064aa07c47b3059df7b56e (diff) | |
download | pacman-fe1e3471f47d9da3bac4cedce250cd2ce04368b4.tar.gz pacman-fe1e3471f47d9da3bac4cedce250cd2ce04368b4.tar.xz |
makepkg: remove code duplication in buildscript parsing
Merges code in two almost identical chunks in create_srcpackage and
check_sanity.
Also discards the space kept by regex in ae73d75660 and earlier, since
the for loop discards it later on.
Signed-off-by: Andres P <aepd87@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
0 files changed, 0 insertions, 0 deletions