Changeset 215

Show
Ignore:
Timestamp:
08/14/07 14:13:17 (1 year ago)
Author:
mrook
Message:

Fix mentions of 'os' attribute (closes issue #136)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/phing/tasks/system/ExecTask.php

    r144 r215  
    105105        $myos = Phing::getProperty("os.name"); 
    106106        $this->log("Myos = " . $myos, Project::MSG_VERBOSE); 
    107         if (($this->os !== null) && (strpos($os, $myos) === false)) { 
     107        if (($this->os !== null) && (strpos($this->os, $myos) === false)) { 
    108108            // this command will be executed only on the specified OS 
    109             $this->log("Not found in " . $os, Project::MSG_VERBOSE); 
     109            $this->log("Not found in " . $this->os, Project::MSG_VERBOSE); 
    110110            return 0; 
    111111        }