summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index bc5d99d..aed1956 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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