contrib/packaging/builddeb
changeset 40102 f9c5f7b048b0
parent 38013 917f635b5c6a
child 40103 01425e3c2645
--- 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