summaryrefslogtreecommitdiff
path: root/localcowbuilder-login
blob: 0ab074d89e88651ddea4b292cf33b0b5c17c79f9 (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. pool=$1
  9. basepath="/var/cache/pbuilder/cow-$pool"
  10. buildplace="/var/cache/pbuilder/build-$pool/cow-$$"
  11. aptcache="/var/cache/pbuilder/aptcache-$pool/"
  12. sudo cowbuilder --login \
  13. --basepath "$basepath" \
  14. --buildplace "$buildplace" \
  15. --aptcache "$aptcache"