mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
makebs: work around build-tools 24.0.1 version bug
The zip contains 24.0.0 as the version, which means our magic was installing 24.0.0 twice and skipping 24.0.1.
This commit is contained in:
parent
662aa2c938
commit
4b5b1fca6f
@ -41,6 +41,10 @@ done
|
||||
# install all cached build-tools
|
||||
for f in `ls -1 build-tools*.zip`; do
|
||||
ver=`unzip -c $f "*/source.properties" | sed -n 's,^Pkg.Revision=,,p'`
|
||||
if [[ $ver == 24.0.0 ]] && [[ $f =~ .*r24\.0\.1.* ]]; then
|
||||
# 24.0.1 has the wrong revision in the zip
|
||||
ver=24.0.1
|
||||
fi
|
||||
cached=,build-tools-${ver}${cached}
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user