summaryrefslogtreecommitdiff
path: root/git-pbuilder
diff options
context:
space:
mode:
Diffstat (limited to 'git-pbuilder')
-rwxr-xr-xgit-pbuilder2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-pbuilder b/git-pbuilder
index b0f1f62..a6b09c1 100755
--- a/git-pbuilder
+++ b/git-pbuilder
@@ -55,7 +55,7 @@ else
fi
# Make sure the base directory exists.
-if [ ! -d "$BASE" ] ; then
+if [ ! -d "$BASE" ] && [ "$1" != "create" ]; then
echo "Base directory $BASE does not exist" >&2
exit 1
fi