aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-pbuilder
diff options
context:
space:
mode:
Diffstat (limited to 'git-pbuilder')
-rwxr-xr-xgit-pbuilder5
1 files changed, 5 insertions, 0 deletions
diff --git a/git-pbuilder b/git-pbuilder
index 3d57ffb7..50443c7f 100755
--- a/git-pbuilder
+++ b/git-pbuilder
@@ -91,6 +91,11 @@ update|create|login)
sudo cowbuilder --"$action" --basepath "$BASE" --dist "$DIST" $OPTIONS "$@"
exit $?
;;
+*)
+ if [ -z "$GBP_BUILD_DIR" ]; then
+ echo "WARNING: not invoked by git-buildpackage." >&2
+ fi
+ ;;
esac
# Now we can finally run pdebuild. The quoting here is tricky, but this