makepkg: hack around tee in run_package function
commit708ce1480f83e01af7a6aba2db04e7982c313673
authorAllan McRae <allan@archlinux.org>
Mon, 8 Dec 2008 02:21:03 +0000 (8 12:21 +1000)
committerAllan McRae <allan@archlinux.org>
Fri, 16 Jan 2009 12:24:21 +0000 (16 22:24 +1000)
tree1c229bede730e88189cfa7409c574a61bc4fd542
parent9804911c5fbe7363d22f2384953bbcc3e57c1959
makepkg: hack around tee in run_package function

Piping the package function through tee to log the outut also
clears any variables set in the package function.  This is a
problem in split packages as package variable overrides are done
in the package function.  This is fixed by creating a node which
the output is piped through and duplicated using the tee function.

Signed-off-by: Allan McRae <allan@archlinux.org>
scripts/makepkg.sh.in