From 80c7dda63152a9556242b794a102d0da5203099f Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Sat, 24 Apr 2010 21:32:17 +0000 Subject: [PATCH] Fixed the string comparison tests. Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36457 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/scripts/build_haiku_image | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/scripts/build_haiku_image b/build/scripts/build_haiku_image index a81d926bf8..01670a4240 100755 --- a/build/scripts/build_haiku_image +++ b/build/scripts/build_haiku_image @@ -96,6 +96,7 @@ else mkindex=mkindex fi + extractFile() { # extractFile @@ -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