Commit 84cd677b authored by Joe Orton's avatar Joe Orton
Browse files

* build/instdso.sh: Extract LIBRARY_NAMES and DLNAME without using

grep; fix extraction of LIBRARY_NAMES which was sedding the wrong
variable name.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189595 13f79535-47bb-0310-9956-ffa450edef68
parent 0500ba64
Loading
Loading
Loading
Loading
+2 −2
Changes for build/instdso.sh: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -61,8 +61,8 @@ then
    exit 0
fi

DLNAME=`grep "^dlname" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"`
LIBRARY_NAMES=`grep "library_names" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"`
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"`

if test -z "$DLNAME"