[PATCH 5 of 6] packaging: fix path where .deb files are looked for

Denis Laxalde denis at laxalde.org
Mon Oct 21 06:00:57 EDT 2019


# HG changeset patch
# User Denis Laxalde <denis at laxalde.org>
# Date 1571650374 -7200
#      Mon Oct 21 11:32:54 2019 +0200
# Node ID 9bf954c0df8f059ce6d8ec1474f7aeebff92db4b
# Parent  82ada7516e83767a743cd666d084766240a398ef
packaging: fix path where .deb files are looked for

In builddeb script, the path where .deb files are looked for should
simply be $OUTPUTDIR since the previous instruction moves those files
there.

This fixes "make deb".

diff --git a/contrib/packaging/builddeb b/contrib/packaging/builddeb
--- a/contrib/packaging/builddeb
+++ b/contrib/packaging/builddeb
@@ -111,5 +111,5 @@ if [ "$CLEANUP" ] ; then
           -type f -newer $control -print0 2>/dev/null | \
       xargs -Inarf -0 mv narf "$OUTPUTDIR"
     echo "Built packages for $debver:"
-    find "$PWD"/"$OUTPUTDIR" -type f -newer $control -name '*.deb'
+    find "$OUTPUTDIR" -type f -newer $control -name '*.deb'
 fi



More information about the Mercurial-devel mailing list