diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-11-05 10:57:43 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-11-05 10:57:43 -0700 |
commit | ad875198df0ad41a2f868cd73ba3d8f1b17ea622 (patch) | |
tree | 5d529d376a73c9249aa4cc2629057b91c5838ecd | |
parent | 43b296116fb11f1399a179e6629af6433b5c4d2a (diff) | |
download | piny-code-ad875198df0ad41a2f868cd73ba3d8f1b17ea622.tar.gz piny-code-ad875198df0ad41a2f868cd73ba3d8f1b17ea622.zip |
Be more paranoid when building packages.
-rwxr-xr-x | builddebs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -3,6 +3,15 @@ set -e set -o pipefail +if ls *.changes > /dev/null 2> /dev/null; then + echo "***" + echo ".changes files already exist!" + echo "Clean repo before building? (y/N) " + read -n 1 PRECLEAN + echo + if [ "$PRECLEAN" == "y" ]; then git clean; else exit 1; fi +fi + for SOURCE in libpiny pinyadmin; do (cd "$SOURCE"; debuild -tc); done equivs-build -f piny.equiv |