[Debian-astro-commits] [iraf] 04/04: Use pipe symbol for sed-ing a full path name

Ole Streicher olebole at moszumanska.debian.org
Tue Nov 28 09:21:56 UTC 2017


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

olebole pushed a commit to branch master
in repository iraf.

commit 44441e36bea7b4b34852d406d9c8d3baf6306953
Author: Ole Streicher <olebole at debian.org>
Date:   Tue Nov 28 10:07:36 2017 +0100

    Use pipe symbol for sed-ing a full path name
---
 debian/patches/Allow-plus-sign-in-build-path.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/Allow-plus-sign-in-build-path.patch b/debian/patches/Allow-plus-sign-in-build-path.patch
index 27f793b..e828684 100644
--- a/debian/patches/Allow-plus-sign-in-build-path.patch
+++ b/debian/patches/Allow-plus-sign-in-build-path.patch
@@ -7,7 +7,7 @@ Subject: Allow plus sign in build path
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/install b/install
-index d087912..55cc8c9 100755
+index d087912..effdf1b 100755
 --- a/install
 +++ b/install
 @@ -1023,9 +1023,9 @@ for i in ${PATHFILES[@]}; do
@@ -17,9 +17,9 @@ index d087912..55cc8c9 100755
 -	    sed -e "s+$o_iraf+$iraf+"   | \
 -            sed -e "s+$o_cache+$cache+" | \
 -            sed -e "s+$o_imdir+$imdir+" > $TEMP
-+	    sed -e "s;$o_iraf;$iraf;"   | \
-+            sed -e "s;$o_cache;$cache;" | \
-+            sed -e "s;$o_imdir;$imdir;" > $TEMP
++	    sed -e "s|$o_iraf|$iraf|"   | \
++            sed -e "s|$o_cache|$cache|" | \
++            sed -e "s|$o_imdir|$imdir|" > $TEMP
          cmp -s $iraf/unix/hlib/$i $TEMP
          if (( $?==1 )); then
              if [ "$exec"=="yes" ]; then

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



More information about the Debian-astro-commits mailing list