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

mckinstry pushed a commit to branch dev-coinstallable
in repository netcdf.

commit 8f7919d46744bdd91c0ded35eab67a7e3029577d
Author: Alastair McKinstry <mckins...@debian.org>
Date:   Sat Feb 20 07:30:16 2016 +0000

    add sed -e//g to ensure multiple substs in postinst
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 73be72d..96d79d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,7 +77,7 @@ override_dh_auto_install:
                done
        # Parallel versions
        for d in mpi pnetcdf ; do \
-               sed -e 's%@MULTIARCH@%$(DEB_HOST_MULTIARCH)%' < 
debian/libnetcdf-$$d-dev.postinst.in \
+               sed -e 's%@MULTIARCH@%$(DEB_HOST_MULTIARCH)%g' < 
debian/libnetcdf-$$d-dev.postinst.in \
                        > debian/libnetcdf-$$d-dev.postinst ; \
                sed -e 's/-lnetcdf/-lnetcdf_$$d/' < 
debian/tmp-$$d/$(LIBDIR)/pkgconfig/netcdf.pc \
                        > debian/tmp/$(LIBDIR)/pkgconfig/netcdf-$$d.pc ; \
@@ -99,7 +99,7 @@ override_dh_auto_install:
        ln -sf libnetcdf.so.11.0.0 debian/tmp/$(LIBDIR)/libnetcdf.so
        ln -sf $(LIBDIR)/libnetcdf.so.11.0.0    
debian/tmp/$(LIBDIR)/netcdf/serial/libnetcdf.so 
        $(RM) debian/tmp/usr/share/doc/netCDF/html/jquery.js
-       sed -e 's%@MULTIARCH@%$(DEB_HOST_MULTIARCH)%' < 
debian/libnetcdf-dev.postinst.in \
+       sed -e 's%@MULTIARCH@%$(DEB_HOST_MULTIARCH)%g' < 
debian/libnetcdf-dev.postinst.in \
                > debian/libnetcdf-dev.postinst
        # Strip RPATH
        -find $(CURDIR)/debian/tmp/usr/bin -type f -not -name nc-config -exec 
chrpath --delete {} \;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/netcdf.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to