Created
February 22, 2010 21:20
-
-
Save jhsu/311514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# check for config.log in javascript | |
count=`grep -iR "config\.log" public/javascripts/* | wc -l | awk '{print $1}'` | |
if [[ "$count" -ge 1 ]]; then | |
echo " remove any config.log() in your javascripts" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment