diff options
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r-- | tool/vcs.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index 90aaf6f061..52c0860177 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -195,9 +195,9 @@ class VCS end def export(revision, url, dir) - if @srcdir + if @srcdir and (rootdir = wcroot) srcdir = File.realpath(@srcdir) - rootdir = wcroot+"/" + rootdir << "/" if srcdir.start_with?(rootdir) subdir = srcdir[rootdir.size..-1] subdir = nil if subdir.empty? |