diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-08 00:35:19 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-08 00:35:19 +0000 |
commit | 91317ad61febda0476aa72c3fb1e4763c777227b (patch) | |
tree | 2e5e294f306fee6475dc5d01e6216341aa359eaa /railties | |
parent | c396c5ab318d1100b50822907367d6b33f20aa85 (diff) | |
download | rails-91317ad61febda0476aa72c3fb1e4763c777227b.tar.gz rails-91317ad61febda0476aa72c3fb1e4763c777227b.tar.bz2 rails-91317ad61febda0476aa72c3fb1e4763c777227b.zip |
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
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index ad799cd0f0..f85f3e2667 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -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
\ No newline at end of file +end |