summaryrefslogtreecommitdiff
path: root/chef-bin/bin/chef-shell
diff options
context:
space:
mode:
Diffstat (limited to 'chef-bin/bin/chef-shell')
-rwxr-xr-xchef-bin/bin/chef-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-bin/bin/chef-shell b/chef-bin/bin/chef-shell
index 666ce1944c..48263dd7ea 100755
--- a/chef-bin/bin/chef-shell
+++ b/chef-bin/bin/chef-shell
@@ -24,7 +24,7 @@ require "irb"
require "irb/completion"
require "irb/ext/save-history"
-$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
+$:.unshift(File.expand_path(File.join(__dir__, "..", "lib")))
require "chef/shell"