Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Check to see if file exists before checking its contents

  • Loading branch information...
commit 36828c531b4e15f157e99736fa16ceafebb5f18b 1 parent 2959060
@benmccann benmccann authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  play
View
2  play
@@ -13,7 +13,7 @@ else
JAVA=$JAVA_HOME/bin/java
fi
-if grep -q "addSbtPlugin(\"play\"" project/plugins.sbt; then
+if [ -f project/plugins.sbt ] && grep -q "addSbtPlugin(\"play\"" project/plugins.sbt ; then
if test "$1" = "clean-all"; then
rm -rf target
rm -rf tmp
Please sign in to comment.
Something went wrong with that request. Please try again.