Source: superlu-dist
Version: 6.2.0+dfsg1-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

It looks like my patch in #933838 was not sufficient in that it did
not replace all instances of the build path within a line.

A patch is attached that adds the "g" (global) regex modifier which,
at least locally, appears to fix the problems in the
CTestTestfile.cmake files.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2019-11-27 09:27:49.023874576 +0000
--- b/debian/rules      2019-11-27 09:35:42.041238403 +0000
@@ -72,7 +72,7 @@
 override_dh_install:
        dh_install
        for testfile in $$( find debian/libsuperlu-dist-dev -name 
CTestTestfile.cmake ); do \
-           sed -e "s|$(CURDIR)|<<builddir>>/superlu-dist|;" \
+           sed -e "s|$(CURDIR)|<<builddir>>/superlu-dist|g;" \
                -i $$testfile; \
            sed -r 
"s|(.*)\".*/(EXAMPLE/.*ua)|\1\"/usr/lib/$(DEB_HOST_MULTIARCH)/superlu-dist/tests/\2|"
 \
                -i $$testfile; \

Reply via email to