Commit b4ddb1b2 authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

Fix check for return value after git update submodule

parent 95eff9c8
......@@ -32,11 +32,11 @@ fi
if ! test -z `which git` && test -d .git; then
git submodule update --init --recursive
fi
if [ $? != 0 ]; then
echo "*** Failed to download submodules. Maybe you have a bad connection or a submodule was not forked?"
exit 1
if [ $? != 0 ]; then
echo "*** Failed to download submodules. Maybe you have a bad connection or a submodule was not forked?"
exit 1
fi
fi
autopoint --force
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment