blob: a41f368910e5af5b2071ead438981109949e0e09 (
plain)
- #!/bin/sh
- if [ $# -eq 0 ]; then
- echo "Usage: $(basename $0) POOL [pbuilderopts]"
- echo ""
- echo "Example: $(basename $0) sarge_with_hacks"
- exit 1
- fi
- pool=$1
- shift
- basetgz="/var/cache/pbuilder/base-$pool.tgz"
- buildplace="/var/cache/pbuilder/build-$pool/"
- aptcache="/var/cache/pbuilder/aptcache-$pool/"
- sudo pbuilder --login \
- --basetgz "$basetgz" \
- --buildplace "$buildplace" \
- --aptcache "$aptcache" \
- $@
|