function fetch {
if [ ! -e ${STAMPS}/$1.fetch ]; then
log "Downloading $1 sources..."
- wget -c --no-passive-ftp $2 && touch ${STAMPS}/$1.fetch
+ wget -c $2 && touch ${STAMPS}/$1.fetch
fi
}
if [ ${LIBOPENCM3_EN} != 0 ]; then
if [ ! -e libopencm3-${LIBOPENCM3}.tar.bz2 ]; then
log "Cloning libopencm3 sources..."
- git clone git://libopencm3.git.sourceforge.net/gitroot/libopencm3/libopencm3
+ git clone https://github.com/libopencm3/libopencm3
cd libopencm3
git archive --format=tar --prefix=libopencm3-${LIBOPENCM3}/ ${LIBOPENCM3} | \
bzip2 --stdout > ../libopencm3-${LIBOPENCM3}.tar.bz2