[haiku-commits] r36457 - haiku/trunk/build/scripts

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 24 Apr 2010 23:32:17 +0200 (CEST)

Author: mmadia
Date: 2010-04-24 23:32:17 +0200 (Sat, 24 Apr 2010)
New Revision: 36457
Changeset: http://dev.haiku-os.org/changeset/36457/haiku

Modified:
   haiku/trunk/build/scripts/build_haiku_image
Log:
Fixed the string comparison tests. Some cleanup.


Modified: haiku/trunk/build/scripts/build_haiku_image
===================================================================
--- haiku/trunk/build/scripts/build_haiku_image 2010-04-24 19:52:36 UTC (rev 
36456)
+++ haiku/trunk/build/scripts/build_haiku_image 2010-04-24 21:32:17 UTC (rev 
36457)
@@ -96,6 +96,7 @@
        mkindex=mkindex
 fi
 
+
 extractFile()
 {
        # extractFile <archive> <directory>
@@ -129,8 +130,7 @@
                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 @@
                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


Other related posts:

  • » [haiku-commits] r36457 - haiku/trunk/build/scripts - mattmadia