[haiku-bugs] [Haiku] #5365: [patch] Remove compound if statement for BasicCommandLineTools

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Fri, 05 Feb 2010 05:11:29 -0000

#5365: [patch] Remove compound if statement for BasicCommandLineTools
--------------------------+-------------------------------------------------
 Reporter:  mmadia        |       Owner:  bonefish      
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  R1            
Component:  Build System  |     Version:  R1/Development
 Keywords:                |   Blockedby:                
 Platform:  All           |    Blocking:                
--------------------------+-------------------------------------------------
 installoptionalpackage doesn't support the compound if statement
 {{{
 if [ IsOptionalHaikuImagePackageAdded BasicCommandLineTools ]
                 && $(TARGET_ARCH) = x86 {
 }}}

 The attached patch changes it to
 {{{
 if [ IsOptionalHaikuImagePackageAdded BasicCommandLineTools ] {
         if $(TARGET_ARCH) != x86 {
                 Echo "No optional package BasicCommandLineTools available
 for $(TARGET_ARCH)" ;
         } else {
 ...
         }
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5365>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: