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