summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/no-ee-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/no-ee-check b/scripts/no-ee-check
index bd53de5a949..f1cf0d04e9a 100755
--- a/scripts/no-ee-check
+++ b/scripts/no-ee-check
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-ee_path = File.join(File.expand_path(File.dirname(__FILE__)), '../ee')
+ee_path = File.join(File.expand_path(__dir__), '../ee')
result = Dir.exist?(ee_path)
if result