Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrien Dorsaz
gitg
Commits
b4ddb1b2
Commit
b4ddb1b2
authored
Nov 26, 2016
by
Jesse van den Kieboom
Browse files
Fix check for return value after git update submodule
parent
95eff9c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
autogen.sh
View file @
b4ddb1b2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment