use https to clone git

This commit is contained in:
bebbo 2022-05-11 20:49:25 +02:00
parent 5405b0c16e
commit 9711f51041
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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