Skip to content

Commit 5f9c0b9

Browse files
committed
Merge pull request #133 from vs7/master
Removed unneccessary trailing f-slash in SYMLINKD
2 parents 09f15da + 7eb19f9 commit 5f9c0b9

File tree

1 file changed

+0
-4
lines changed
  • src/MagentoHackathon/Composer/Magento/Deploystrategy

1 file changed

+0
-4
lines changed

src/MagentoHackathon/Composer/Magento/Deploystrategy/Symlink.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ protected function _symlink($relSourcePath, $destPath, $absSourcePath)
128128
*/
129129
public function getRelativePath($from, $to)
130130
{
131-
// Can't use realpath() here since the destination doesn't exist yet
132-
$from = is_dir($from) ? rtrim($from, '\/') . '/' : $from;
133-
$to = is_dir($to) ? rtrim($to, '\/') . '/' : $to;
134-
135131
$from = str_replace('\\', '/', $from);
136132
$to = str_replace('\\', '/', $to);
137133

0 commit comments

Comments
 (0)