From bdc1033d2068179946d1001393e6e01c132ff428 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Sun, 11 Jun 2006 17:17:32 +0000 Subject: [PATCH] Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/lib/commands/plugin.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 362438e582..7faff77bc0 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA] + * Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick] * Added uninstall.rb hook to plugin handling, such that plugins have a way of removing assets and other artifacts on removal #5003 [takiuchi@drecom.co.jp] diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index 2a9d511eb4..e836115fc9 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -136,7 +136,7 @@ class RailsEnvironment Tempfile.open("svn-set-prop") do |file| file.write(items) file.flush - system("svn propset -q svn:externals -F #{file.path} \"#{root}/vendor/plugins\"") + system("svn propset -q svn:externals -F \"#{file.path}\" \"#{root}/vendor/plugins\"") end end