--- a/contrib/packaging/builddeb Tue Oct 09 12:56:11 2018 -0700
+++ b/contrib/packaging/builddeb Tue Oct 09 21:39:39 2018 +0200
@@ -49,7 +49,7 @@
set -u
if [ ! -d .hg ]; then
- echo 'You are not inside a Mercurial repository!' 1>&2
+ printf "You are inside %s, which is not the root of a Mercurial repository\n" $(pwd) 1>&2
exit 1
fi
@@ -71,7 +71,7 @@
if [ "$BUILD" ]; then
if [ -d debian ] ; then
- echo "Error! debian control directory already exists!"
+ printf "Error! debian control directory already exists at %s/debian\n" $(pwd)
exit 1
fi