blob: 29a9a1782d423449171955d7182eaabed4a79c4d (
plain)
- #!/bin/sh
- if [ $# -eq 0 ]; then
- echo "Usage: $(basename $0) POOL [cowbuilderopts]"
- echo ""
- echo "Example: $(basename $0) sarge_with_hacks"
- exit 1
- fi
- pool=$1
- shift
- basepath="/var/cache/pbuilder/cow-$pool"
- buildplace="/var/cache/pbuilder/build-$pool/$$"
- aptcache="/var/cache/pbuilder/aptcache-$pool/"
- sudo cowbuilder --login \
- --basepath "$basepath" \
- --buildplace "$buildplace" \
- --aptcache "$aptcache" \
- $@
|