diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-04-16 01:15:55 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-04-16 01:17:04 +0200 |
commit | bdd04c88ba2bad905134a835dc794d273bd7bf97 (patch) | |
tree | 23dcb0246d1f8403d6516d32cb38cd297b66423f /bin | |
parent | 690e3e9a39e2691b483474725ee1a17d44231401 (diff) | |
download | genpkg-bdd04c88ba2bad905134a835dc794d273bd7bf97.tar.gz genpkg-bdd04c88ba2bad905134a835dc794d273bd7bf97.tar.xz |
Rename tweaks/ to preps/.
Adds GENPKGDBG env variable. Set it to prevent genpkg from
removing PKGTREE and PKGDATA.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/genpkg | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |