From: Joe Orton Date: Wed, 29 Mar 2006 14:04:08 +0000 (+0000) Subject: * build/instdso.sh: Fix syntax error with some sed implementations. X-Git-Tag: 2.3.0~2488 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=486c3d352f2f0aadcf0790bf9a18f00e5919b869;p=thirdparty%2Fapache%2Fhttpd.git * build/instdso.sh: Fix syntax error with some sed implementations. PR: 38108 Submitted by: Masaoki Kobayashi git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@389797 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/instdso.sh b/build/instdso.sh index 0b2ab00da00..c46eca212cd 100755 --- a/build/instdso.sh +++ b/build/instdso.sh @@ -63,8 +63,8 @@ fi if test -s "$TARGETDIR/$DSOARCHIVE_BASENAME" then - DLNAME=`sed -n "/^dlname=/{s/.*='\([^']*\)'/\1/;p}" $TARGETDIR/$DSOARCHIVE_BASENAME` - LIBRARY_NAMES=`sed -n "/^library_names/{s/library_names='\([^']*\)'/\1/;p}" $TARGETDIR/$DSOARCHIVE_BASENAME` + DLNAME=`sed -n "/^dlname=/{s/.*='\([^']*\)'/\1/;p;}" $TARGETDIR/$DSOARCHIVE_BASENAME` + LIBRARY_NAMES=`sed -n "/^library_names/{s/library_names='\([^']*\)'/\1/;p;}" $TARGETDIR/$DSOARCHIVE_BASENAME` LIBRARY_NAMES=`echo $LIBRARY_NAMES | sed -e "s/ *$DLNAME//g"` fi