mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
make_dest_dirs rake task uses path = . by default. Closes #3874.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
c396c5ab31
commit
91317ad61f
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ end
|
|||
|
||||
# Make directory structure ----------------------------------------------------------------
|
||||
|
||||
def make_dest_dirs(dirs, path = nil)
|
||||
def make_dest_dirs(dirs, path = '.')
|
||||
mkdir_p dirs.map { |dir| File.join(PKG_DESTINATION, path.to_s, dir) }
|
||||
end
|
||||
|
||||
|
@ -317,4 +317,4 @@ task :release => [ :gem ] do
|
|||
release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} 'REL #{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.gem"
|
||||
puts release_command
|
||||
system(release_command)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue