Changeset 92

Show
Ignore:
Timestamp:
07/11/06 06:56:45 (2 years ago)
Author:
mrook
Message:

Fix relative path computation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/classes/phing/tasks/ext/ZipTask.php

    r82 r92  
    148148                    $f = new PhingFile($fsBasedir, $files[$i]); 
    149149                    $filesToZip[] = $f->getAbsolutePath();                         
    150                 }                     
    151                 $zip->add($filesToZip, array('remove_path' => $fsBasedir->getPath())); 
     150                } 
     151                $zip->add($filesToZip, array('remove_path' => $fsBasedir->getCanonicalPath())); 
    152152            } 
    153153