Fixed the string comparison tests. Some cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36457 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-04-24 21:32:17 +00:00
parent 4eb0a8c2fd
commit 80c7dda631

View File

@ -96,6 +96,7 @@ else
mkindex=mkindex mkindex=mkindex
fi fi
extractFile() extractFile()
{ {
# extractFile <archive> <directory> # extractFile <archive> <directory>
@ -129,8 +130,7 @@ extractFile()
rm $extractDir/.OptionalPackageDescription rm $extractDir/.OptionalPackageDescription
fi fi
if [ "$isGCCAgnostic" == "true" ] && [ $isHybridBuild ] ; then if [ "$isGCCAgnostic" = "true" ] && [ $isHybridBuild ] ; then
#if [ $isGCCAgnostic -eq 1 ] && [ $isHybridBuild ] ; then
extractedLibs=`find "$extractDir/$extractedSubDir/" -name "*.so"` extractedLibs=`find "$extractDir/$extractedSubDir/" -name "*.so"`
moreExtractedLibs=`find "$extractDir/$extractedSubDir/" -name "*.so.*"` moreExtractedLibs=`find "$extractDir/$extractedSubDir/" -name "*.so.*"`
createSymlinksForHybrid $extractedLibs $moreExtractedLibs createSymlinksForHybrid $extractedLibs $moreExtractedLibs
@ -164,7 +164,7 @@ createSymlinksForHybrid()
standardLibPaths="system/lib common/lib home/config/lib" standardLibPaths="system/lib common/lib home/config/lib"
isStandardPath= isStandardPath=
for stdLibPath in $standardLibPaths; do for stdLibPath in $standardLibPaths; do
if [ "$relPath" == "$stdLibPath" ]; then if [ "$relPath" = "$stdLibPath" ]; then
isStandardPath=true isStandardPath=true
break break
fi fi