summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/macports.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/package/macports.rb')
-rw-r--r--lib/chef/provider/package/macports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/macports.rb b/lib/chef/provider/package/macports.rb
index fd33788944..6ef303ee4f 100644
--- a/lib/chef/provider/package/macports.rb
+++ b/lib/chef/provider/package/macports.rb
@@ -44,7 +44,7 @@ class Chef
def install_package(name, version)
unless @current_resource.version == version
command = "port#{expand_options(@new_resource.options)} install #{name}"
- command << " @#{version}" if version and !version.empty?
+ command << " @#{version}" if version and !version.empty?
run_command_with_systems_locale(
:command => command
)