File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/MagentoHackathon/Composer/Magento/Deploystrategy
tests/MagentoHackathon/Composer/Magento/Deploystrategy Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public function getRelativePath($from, $to)
141
141
}
142
142
143
143
// magento_dir/targetdir/childdir => ../../module_dir/sourcedir/childdir
144
- $ relativePath = str_repeat ('../ ' , count ($ dir ) - 1 ) . implode ('/ ' , $ file );
144
+ $ relativePath = str_repeat ('../ ' , count ($ dir )) . implode ('/ ' , $ file );
145
145
return $ relativePath ;
146
146
}
147
147
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function testCreate()
31
31
$ dest = 'test2 ' ;
32
32
33
33
//create the source directory
34
- mkdir ($ this ->_getVfsUrl ('sourceDir ' . DS . $ src ), 0777 , true );
34
+ mkdir ($ this ->_getVfsUrl ('sourceDir ' . DS . $ src ), 0755 , true );
35
35
36
36
$ this ->assertTrue (is_dir ($ this ->_getVfsUrl ('sourceDir ' . DS . $ src )));
37
37
$ this ->assertFalse (is_dir ($ this ->_getVfsUrl ('destDir ' . DS . $ dest )));
You can’t perform that action at this time.
0 commit comments