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

login
register
mail settings
Submitter Denis Laxalde
Date Oct. 21, 2019, 10 a.m.
Message ID <9bf954c0df8f059ce6d8.1571652057@marimba>
Download mbox | patch
Permalink /patch/42514/
State Accepted
Headers show

Comments

Denis Laxalde - Oct. 21, 2019, 10 a.m.
# HG changeset patch
# User Denis Laxalde <denis@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".

Patch

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