dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d982b2d
)
Fixed trailing slash removal code.
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 31 May 2013 17:56:12 +0000
(10:56 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 31 May 2013 17:56:12 +0000
(10:56 -0700)
Change-Id: I152dcec5cc8f4c417e3503f4b8fd3fdd8bc4fda5
maintenance/copyFileBackend.php
patch
|
blob
|
history
diff --git
a/maintenance/copyFileBackend.php
b/maintenance/copyFileBackend.php
index
1ccd121
..
13301ed
100644
(file)
--- a/
maintenance/copyFileBackend.php
+++ b/
maintenance/copyFileBackend.php
@@
-56,7
+56,7
@@
class CopyFileBackend extends Maintenance {
$src = FileBackendGroup::singleton()->get( $this->getOption( 'src' ) );
$dst = FileBackendGroup::singleton()->get( $this->getOption( 'dst' ) );
$containers = explode( '|', $this->getOption( 'containers' ) );
- $subDir =
$this->getOption( rtrim( 'subdir', '/' ), '
' );
+ $subDir =
rtrim( $this->getOption( 'subdir', '' ), '/
' );
$rateFile = $this->getOption( 'ratefile' );