summaryrefslogtreecommitdiff
path: root/localpbuilder-update
blob: 163f993e833cf0d3ba43e48a73126998e4624222 (plain)
  1. #!/bin/sh
  2. if [ $# -eq 0 ]; then
  3. echo "Usage: $(basename $0) POOL"
  4. echo ""
  5. echo "Example: $(basename $0) sarge_with_hacks"
  6. exit 1
  7. fi
  8. for pool in $@; do
  9. sudo pbuilder update \
  10. --basetgz /var/cache/pbuilder/base-$pool.tgz \
  11. --buildplace /var/cache/pbuilder/build-$pool/ \
  12. --aptcache /var/cache/pbuilder/aptcache-$pool/
  13. done