[scotch] 07/12: fix path to built binaries in [pt]scotch.install

Drew Parsons dparsons at moszumanska.debian.org
Wed Dec 20 07:14:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to tag debian/6.0.4.dfsg1-8
in repository scotch.

commit cbdfbbc9513d689dea83f4cd6998691050e98212
Author: Drew Parsons <dparsons at debian.org>
Date:   Wed Dec 20 12:59:19 2017 +0800

    fix path to built binaries in [pt]scotch.install
    
    *.install is executed from top source dir
---
 debian/ptscotch.install | 2 +-
 debian/scotch.install   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/ptscotch.install b/debian/ptscotch.install
index 81d461d..6f47eab 100755
--- a/debian/ptscotch.install
+++ b/debian/ptscotch.install
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # separate scotch from ptscotch binaries
-PTSCOTCH_BINARIES=$( for b in ../int/bin/*; do if objdump -p $b | grep -q ptscotch; then echo `basename $b`; fi; done )
+PTSCOTCH_BINARIES=$( for b in int/bin/*; do if objdump -p $b | grep -q ptscotch; then echo `basename $b`; fi; done )
 
 for file in $PTSCOTCH_BINARIES; do
   echo int/bin/${file} /usr/bin
diff --git a/debian/scotch.install b/debian/scotch.install
index ea407fc..30e7b9f 100755
--- a/debian/scotch.install
+++ b/debian/scotch.install
@@ -1,7 +1,8 @@
 #!/bin/bash
 
 # separate scotch from ptscotch binaries
-SCOTCH_BINARIES=$( for b in ../int/bin/*; do if objdump -p $b | grep -q --invert-match ptscotch; then echo `basename $b`; fi; done )
+pwd > scotch.install.pwd
+SCOTCH_BINARIES=$( for b in int/bin/*; do if objdump -p $b | grep -q --invert-match ptscotch; then echo `basename $b`; fi; done )
 
 for file in $SCOTCH_BINARIES; do
   echo int/bin/${file} /usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scotch.git



More information about the debian-science-commits mailing list