Skip to content

Commit

Permalink
Use npm's .bin/jake script for ./jake.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid committed Jun 6, 2012
1 parent 5261812 commit 9b120a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jake
@@ -1,6 +1,6 @@
#!/bin/sh
if [ -x "`dirname "$0"`/node.exe" ]; then
"`dirname "$0"`/node.exe" "`dirname "$0"`/node_modules/jake/bin/cli.js" "$@"
"`dirname "$0"`/node.exe" "`dirname "$0"`/node_modules/.bin/jake" "$@"
else
node "`dirname "$0"`/node_modules/jake/bin/cli.js" "$@"
node "`dirname "$0"`/node_modules/.bin/jake" "$@"
fi

0 comments on commit 9b120a7

Please sign in to comment.