diff options
author | Andres P <aepd87@gmail.com> | 2010-05-25 16:32:07 -0430 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-27 09:18:52 -0500 |
commit | fe1e3471f47d9da3bac4cedce250cd2ce04368b4 (patch) | |
tree | d363b4409a987b79fe846d8d81852a2287a81f67 /depcomp | |
parent | 3064f8d08d8f8048aa064aa07c47b3059df7b56e (diff) | |
download | 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 'depcomp')
0 files changed, 0 insertions, 0 deletions