Changeset 477

Show
Ignore:
Timestamp:
02/02/08 11:12:28 (1 year ago)
Author:
gbooker
Message:

Some debug ifdefs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Software Loader/SLoadInstaller.m

    r463 r477  
    4646                        continue; 
    4747                NSString *bundlePath = [installersPath stringByAppendingPathComponent:candidate]; 
    48 /*              if(![[[fm fileAttributesAtPath:bundlePath traverseLink:YES] objectForKey:NSFileOwnerAccountName] isEqualToString:@"root"]) 
    49                         continue;*/ 
     48#ifndef DEBUG_BUILD 
     49                if(![[[fm fileAttributesAtPath:bundlePath traverseLink:YES] objectForKey:NSFileOwnerAccountName] isEqualToString:@"root"]) 
     50                        continue; 
     51#endif 
    5052                NSBundle *bundle = [NSBundle bundleWithPath:bundlePath]; 
    5153                NSDictionary *info = [bundle infoDictionary]; 
  • trunk/Software Loader/helper.m

    r463 r477  
    2424{ 
    2525        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 
     26#ifdef DEBUG_BUILD 
    2627        Debugger(); 
     28#endif 
    2729        NSString *myPath = [[NSBundle bundleForClass:[SLoadInstallClient class]] bundlePath]; 
    2830        NSString *utilsFrameworkPath = [myPath stringByAppendingPathComponent:@"Contents/Frameworks/SLoadUtilities.framework"];