Skip to content

Commit e7b8e1a

Browse files
committed
Move check_deps to after update_submodules
1 parent 27473a0 commit e7b8e1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

script/bootstrap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ main ()
2323
{
2424
config
2525

26-
if [ -n "$REQUIRED_TOOLS" ]
27-
then
28-
echo "*** Checking dependencies..."
29-
check_deps
30-
fi
31-
3226
local submodules=$(git submodule status)
3327
local result=$?
3428

@@ -42,6 +36,12 @@ main ()
4236
echo "*** Updating submodules..."
4337
update_submodules
4438
fi
39+
40+
if [ -n "$REQUIRED_TOOLS" ]
41+
then
42+
echo "*** Checking dependencies..."
43+
check_deps
44+
fi
4545
}
4646

4747
check_deps ()

0 commit comments

Comments
 (0)