summaryrefslogtreecommitdiff
path: root/lib/chef/provider/script.rb
diff options
context:
space:
mode:
authoradamedx <adamed@opscode.com>2013-02-19 06:53:39 -0800
committeradamedx <adamed@opscode.com>2013-02-19 09:32:06 -0800
commite20d71a51bb42226571a912dfc70445d2ca10a5c (patch)
tree3114733813f33d05d331e260d58ce1f896a797ab /lib/chef/provider/script.rb
parentedf49de5f28bd7c02646582f0bbe02683141b443 (diff)
downloadchef-e20d71a51bb42226571a912dfc70445d2ca10a5c.tar.gz
OC-4739: Merge functional tests, Win2k3 compatibility
Diffstat (limited to 'lib/chef/provider/script.rb')
-rw-r--r--lib/chef/provider/script.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/chef/provider/script.rb b/lib/chef/provider/script.rb
index 4d405e59f1..f1b765d52a 100644
--- a/lib/chef/provider/script.rb
+++ b/lib/chef/provider/script.rb
@@ -29,7 +29,7 @@ class Chef
set_owner_and_group
- @new_resource.command("\"#{interpreter}\" #{flags} \"#{interpreter_script_path}\"")
+ @new_resource.command("\"#{interpreter}\" #{flags} \"#{script_file.path}\"")
super
converge_by(nil) do
# ensure script is unlinked at end of converge!
@@ -59,13 +59,6 @@ class Chef
def flags
@new_resource.flags
end
-
- protected
-
- def interpreter_script_path
- script_file.path
- end
-
end
end
end