diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -14,9 +14,11 @@ test -f $FILE_MUST_EXIST || { exit 1 } -git remote set-url origin http://github.com/endlessm/eos-sdk.git -git submodule init . -git submodule update --recursive +# Clone and update Jasmine submodule if this is a Git checkout +if test -d .git; then + git submodule init . + git submodule update --recursive +fi # GNU gettext automake support doesn't get along with git # https://bugzilla.gnome.org/show_bug.cgi?id=661128 |