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