Permalink
Browse files

Enable multiple spaces in Leiningen 2 detection

  • Loading branch information...
1 parent 74ce949 commit e982eca2f324a41337655c1d2761e3fe0b91e025 @danskarda committed Oct 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/detect
View
@@ -2,7 +2,7 @@
# bin/use <build-dir>
if [ -f $1/project.clj ]; then
- grep ":min-lein-version \"2" $1/project.clj > /dev/null
+ grep ":min-lein-version[[:space:]]\+\"2" $1/project.clj > /dev/null
if [ $? -eq 0 ]; then
echo "Clojure (Leiningen 2)" && exit 0
else

0 comments on commit e982eca

Please sign in to comment.