Skip to content

Commit

Permalink
Item8483: Force consistent trailing file separator - Windows and Linu…
Browse files Browse the repository at this point in the history
…x were inconsistent

git-svn-id: http://svn.foswiki.org/trunk@6252 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Feb 8, 2010
1 parent b037d8c commit b6f41fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/lib/Foswiki/Configure/UI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ sub new {
$this->{bin} = $1;
my @root = File::Spec->splitdir( $this->{bin} );
pop(@root);
$this->{root} = File::Spec->catfile( @root, '' );
# SMELL: Force a trailing separator - Linux and Windows are inconsistent
$this->{root} = File::Spec->catfile( @root, 'x' );
chop $this->{root};

return $this;
}
Expand Down

0 comments on commit b6f41fc

Please sign in to comment.