mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: added missing .git in get-dep-lib.sh
For unknown reasons cloning from github is slower to start if .git is omitted. Add .git to all "git clone" statements Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
b1b5028917
commit
b18b10b467
1 changed files with 6 additions and 6 deletions
|
@ -79,7 +79,7 @@ set -e
|
||||||
cd ${INSTDIR}
|
cd ${INSTDIR}
|
||||||
|
|
||||||
if [[ "$BUILD" = *"libcurl"* && ! -d libcurl ]]; then
|
if [[ "$BUILD" = *"libcurl"* && ! -d libcurl ]]; then
|
||||||
git clone https://github.com/curl/curl libcurl
|
git clone https://github.com/curl/curl.git libcurl
|
||||||
pushd libcurl
|
pushd libcurl
|
||||||
git fetch origin
|
git fetch origin
|
||||||
if ! git checkout $CURRENT_LIBCURL ; then
|
if ! git checkout $CURRENT_LIBCURL ; then
|
||||||
|
@ -107,7 +107,7 @@ if [[ "$BUILD" = *"libgit2"* && ! -d libgit2 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD" = *"libssh2"* && ! -d libssh2 ]]; then
|
if [[ "$BUILD" = *"libssh2"* && ! -d libssh2 ]]; then
|
||||||
git clone https://github.com/libssh2/libssh2
|
git clone https://github.com/libssh2/libssh2.git
|
||||||
pushd libssh2
|
pushd libssh2
|
||||||
git fetch origin
|
git fetch origin
|
||||||
if ! git checkout $CURRENT_LIBSSH2 ; then
|
if ! git checkout $CURRENT_LIBSSH2 ; then
|
||||||
|
@ -118,7 +118,7 @@ if [[ "$BUILD" = *"libssh2"* && ! -d libssh2 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD" = *"libusb"* && ! -d libusb ]]; then
|
if [[ "$BUILD" = *"libusb"* && ! -d libusb ]]; then
|
||||||
git clone https://github.com/libusb/libusb
|
git clone https://github.com/libusb/libusb.git
|
||||||
pushd libusb
|
pushd libusb
|
||||||
git fetch origin
|
git fetch origin
|
||||||
if ! git checkout $CURRENT_LIBUSB ; then
|
if ! git checkout $CURRENT_LIBUSB ; then
|
||||||
|
@ -157,7 +157,7 @@ if [[ "$BUILD" = *"libzip"* && ! -d libzip ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD" = *"breeze-icons"* && ! -d breeze-icons ]]; then
|
if [[ "$BUILD" = *"breeze-icons"* && ! -d breeze-icons ]]; then
|
||||||
git clone https://github.com/kde/breeze-icons
|
git clone https://github.com/kde/breeze-icons.git
|
||||||
pushd breeze-icons
|
pushd breeze-icons
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
popd
|
popd
|
||||||
|
@ -173,7 +173,7 @@ if [[ "$BUILD" = *"googlemaps"* && ! -d googlemaps ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD" = *"hidapi"* && ! -d hidapi ]]; then
|
if [[ "$BUILD" = *"hidapi"* && ! -d hidapi ]]; then
|
||||||
git clone https://github.com/signal11/hidapi
|
git clone https://github.com/signal11/hidapi.git
|
||||||
pushd hidapi
|
pushd hidapi
|
||||||
git fetch origin
|
git fetch origin
|
||||||
# there is no good tag, so just build master
|
# there is no good tag, so just build master
|
||||||
|
@ -195,7 +195,7 @@ if [[ "$BUILD" = *"kirigami"* && ! -d kirigami ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD" = *"openssl"* && ! -d openssl ]]; then
|
if [[ "$BUILD" = *"openssl"* && ! -d openssl ]]; then
|
||||||
git clone https://github.com/openssl/openssl
|
git clone https://github.com/openssl/openssl.git
|
||||||
pushd openssl
|
pushd openssl
|
||||||
git fetch origin
|
git fetch origin
|
||||||
if ! git checkout $CURRENT_OPENSSL ; then
|
if ! git checkout $CURRENT_OPENSSL ; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue