summaryrefslogtreecommitdiff
path: root/chef-bin/bin/chef-resource-inspector
diff options
context:
space:
mode:
Diffstat (limited to 'chef-bin/bin/chef-resource-inspector')
-rwxr-xr-xchef-bin/bin/chef-resource-inspector2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-bin/bin/chef-resource-inspector b/chef-bin/bin/chef-resource-inspector
index 6a7eac0c32..90bd94e05d 100755
--- a/chef-bin/bin/chef-resource-inspector
+++ b/chef-bin/bin/chef-resource-inspector
@@ -19,7 +19,7 @@
Encoding.default_external = Encoding::UTF_8
-$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
+$:.unshift(File.expand_path(File.join(__dir__, "..", "lib")))
require "chef/resource_inspector"