summaryrefslogtreecommitdiffstats
path: root/pactest/tests
diff options
context:
space:
mode:
authorAndres P <aepd87@gmail.com>2010-05-25 23:02:07 +0200
committerDan McGee <dan@archlinux.org>2010-05-27 16:18:52 +0200
commitfe1e3471f47d9da3bac4cedce250cd2ce04368b4 (patch)
treed363b4409a987b79fe846d8d81852a2287a81f67 /pactest/tests
parent3064f8d08d8f8048aa064aa07c47b3059df7b56e (diff)
downloadpacman-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 'pactest/tests')
0 files changed, 0 insertions, 0 deletions