blob: 2074f2c2c1ac727fdf9eedc241ca32d92e2610a9 (
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" \
- $@
|