blob: 8803e4a9e38d4b5d768b0291402b6e62cee0220e (
plain)
- #!/bin/sh
- if [ $# -eq 0 ]; then
- echo "Usage: $(basename $0) POOL"
- echo ""
- echo "Example: $(basename $0) sarge_with_hacks"
- exit 1
- fi
- pool=$1
- export CCACHE_DIR="/var/cache/pbuilder/ccache-$pool"
- export PATH="/usr/lib/ccache:${PATH}"
- sudo pbuilder update \
- --basetgz /var/cache/pbuilder/base-$pool.tgz \
- --buildplace /var/cache/pbuilder/build-$pool/ \
- --aptcache /var/cache/pbuilder/aptcache-$pool/
|