Skip to content

Commit

Permalink
shebang fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickey Visinski committed May 22, 2012
1 parent 58fd3f0 commit 246e4e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/beautifier.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build.sh
Expand Up @@ -6,15 +6,15 @@
# DESCRIPTION: Compile source file into the actual node module # DESCRIPTION: Compile source file into the actual node module
# #
# AUTHOR: Rickey Visinski # AUTHOR: Rickey Visinski
# REVISION: 0.0.1 # REVISION: 0.0.2
#=============================================================================== #===============================================================================


set -o nounset # Treat unset variables as an error set -o nounset # Treat unset variables as an error


BIN=bin/beautifier.js BIN=bin/beautifier.js
LIB=lib/beautify.js LIB=lib/beautify.js


echo '#!/usr/bin/node' > $BIN echo '#!/usr/bin/env node' > $BIN


# I use the closure compiler, this is the quick and dirty check if you build from source # I use the closure compiler, this is the quick and dirty check if you build from source
if [[ $(which closure) ]] ; then if [[ $(which closure) ]] ; then
Expand Down

0 comments on commit 246e4e5

Please sign in to comment.