summaryrefslogtreecommitdiffstats
path: root/script/generate
diff options
context:
space:
mode:
Diffstat (limited to 'script/generate')
-rwxr-xr-xscript/generate4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/generate b/script/generate
index ef976e09f..62a8a4c0c 100755
--- a/script/generate
+++ b/script/generate
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../config/boot'
-require 'commands/generate' \ No newline at end of file
+require File.expand_path('../../config/boot', __FILE__)
+require 'commands/generate'