From bdd04c88ba2bad905134a835dc794d273bd7bf97 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Sun, 15 Apr 2012 19:15:55 -0400 Subject: Rename tweaks/ to preps/. Adds GENPKGDBG env variable. Set it to prevent genpkg from removing PKGTREE and PKGDATA. --- bin/genpkg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/genpkg b/bin/genpkg index ee8abd3..01642c2 100755 --- a/bin/genpkg +++ b/bin/genpkg @@ -94,6 +94,11 @@ do # echo "Modified metapackage." 1>&2 #fi - pbfields < PKGDATA | putpkgtree PKGBUILD prefix body || exit "$?" + cat PKGDATA | injectdigs | pbfields | putpkgtree PKGBUILD prefix body || exit "$?" mergefile PKGBUILD prefix build check package suffix || exit "$?" + + if ! [ "$GENPKGDBG" ] then + rm -rf PKGTREE + rm PKGDATA + fi done -- cgit v1.2.3-24-g4f1b