diff --git a/bin/cake b/bin/cake index 37150c04..49a86bcd 100755 --- a/bin/cake +++ b/bin/cake @@ -2,6 +2,6 @@ process.mixin(require('sys')); -require.paths.unshift('./lib'); +require.paths.unshift(__dirname + '/../lib'); require('cake').run(); diff --git a/bin/coffee b/bin/coffee index 0cb4fff8..31561b8c 100755 --- a/bin/coffee +++ b/bin/coffee @@ -2,6 +2,6 @@ process.mixin(require('sys')); -require.paths.unshift('./lib'); +require.paths.unshift(__dirname + '/../lib'); require('command_line').run();