Skip to content

Commit f9c78ef

Browse files
committed
bin/detect should take build dir into account
1 parent 59530a6 commit f9c78ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/detect

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/sh
22

3-
if [ ! -f ".gitmodules" ]; then
3+
app_dir="$1"
4+
5+
if [ ! -f "$app_dir/.gitmodules" ]; then
46
exit 1
57
fi
68

0 commit comments

Comments
 (0)