3
# Copyright 2009 Canonical Ltd. This software is licensed under the
4
# GNU Affero General Public License version 3 (see the file LICENSE).
6
# Buildd Slave tool to remove an unmounted chroot
8
# Expects build id as arg 1, makes build-id to contain the build
10
# Needs RM to be set to a gnu rm instance
11
# Needs SUDO to be set to a sudo instance for passwordless access
21
echo "Removing build $BUILDID"
25
$SUDO $RM -rf "build-$BUILDID"