Permalink
Browse files

Merge branch 'master' of https://github.com/mattt/heroku-buildpack-co…

…re-data

Conflicts:
	bin/detect
  • Loading branch information...
2 parents c6b04ca + 2152536 commit 237b33133f3d69e5d10ae14990065c25d84e7794 @mattt mattt committed Nov 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/detect
View
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# bin/detect <build-dir>
-if [[ $(ls $1/**/*.xcdatamodel 2> /dev/null | wc -l) -gt 0 ]]; then
+if [[ $(ls $1/**/*.xcdatamodel* 2> /dev/null | wc -l) -gt 0 ]]; then
echo "Core Data" && exit 0
else
echo "No Core Data model detected" && exit 1

0 comments on commit 237b331

Please sign in to comment.