From 9711f510411d4df463e3932ae83fff2c222de37b Mon Sep 17 00:00:00 2001 From: bebbo Date: Wed, 11 May 2022 20:49:25 +0200 Subject: [PATCH] use https to clone git --- sdk/install | 5 +++-- sdk/sdi.sdk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sdk/install b/sdk/install index 685bbd7..166b718 100755 --- a/sdk/install +++ b/sdk/install @@ -1,4 +1,5 @@ #!/bin/bash +export PATH=$PATH:$3/bin if [ ! -e "sdk/$2.sdk" ]; then echo "sdk/$2.sdk not found" exit 1 @@ -16,7 +17,7 @@ case $1 in if [ "${a[1]}" == "git" ]; then if [ ! -e "projects/$file" ]; then pushd projects - git clone ${a[1]}:${a[2]} || (rm -rf $file; exit 1) + git clone https:${a[2]} || (rm -rf $file; exit 1) popd; fi pushd projects/$file @@ -31,7 +32,7 @@ case $1 in if [ ! -e "build/$2" ] || [ "$(ls -l build/$2)" == "total 0" ]; then mkdir -p build/$2 pushd build/$2 - lha x "../../download/$file" && $3/bin/lha x "../../download/$file" + lha x "../../download/$file" popd fi fi diff --git a/sdk/sdi.sdk b/sdk/sdi.sdk index 236c082..7c848fc 100644 --- a/sdk/sdi.sdk +++ b/sdk/sdi.sdk @@ -1,6 +1,6 @@ Short: A set of C macro/defines to make amiga development easier. Version: 1.7 -Url: https://github.com/bebbo/SDI +Url: git://github.com/bebbo/SDI SDI_compiler.h SDI_hook.h