Skip to content

Commit

Permalink
bin/detect should take build dir into account
Browse files Browse the repository at this point in the history
  • Loading branch information
Photonios committed Jan 29, 2018
1 parent 59530a6 commit f9c78ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/detect
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh

if [ ! -f ".gitmodules" ]; then
app_dir="$1"

if [ ! -f "$app_dir/.gitmodules" ]; then
exit 1
fi

Expand Down

0 comments on commit f9c78ef

Please sign in to comment.