VirtualBox

Changeset 42986 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Aug 24, 2012 10:38:44 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80318
Message:

build fix?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist

    r42985 r42986  
    4343         system.log("OS version detected: " + test);
    4444         result = !(system.compareVersions(test, '10.5') >= 0);
    45          if (system.compareVersions(test, '10.6') < 0)
    46          {
    47            isLeopard = true;
    48          }
     45         isLeopard = !!(system.compareVersions(test, '10.6') < 0);
    4946       } catch (e) { system.log(e); }
    5047
     
    6360         {
    6461           rcScript = system.run('checkforrunningvms');
    65            result = (rcScript == '1');
     62           result = !!(rcScript == '1');
    6663           system.log("checkforrunningvms returned: " + rcScript);
    6764         } catch (e) { system.log(e); }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette