summaryrefslogtreecommitdiff
path: root/git-pbuilder
diff options
context:
space:
mode:
Diffstat (limited to 'git-pbuilder')
-rwxr-xr-xgit-pbuilder7
1 files changed, 7 insertions, 0 deletions
diff --git a/git-pbuilder b/git-pbuilder
index 74bab33..afc0f65 100755
--- a/git-pbuilder
+++ b/git-pbuilder
@@ -60,6 +60,13 @@ if [ ! -d "$BASE" ] && [ "$1" != "create" ]; then
exit 1
fi
+# Make sure we have the necessary tools
+if [ ! -x /usr/sbin/cowbuilder ]; then
+ echo "Cowbuilder not found, you need to install the cowbuilder package."
+ exit 1
+fi
+
+
# Set --debian-etch-workaround if DIST is etch. Assume that everything else
# is new enough that it will be fine.
OPTIONS=