mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ done
|
||||||
# install all cached build-tools
|
# install all cached build-tools
|
||||||
for f in `ls -1 build-tools*.zip`; do
|
for f in `ls -1 build-tools*.zip`; do
|
||||||
ver=`unzip -c $f "*/source.properties" | sed -n 's,^Pkg.Revision=,,p'`
|
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}
|
cached=,build-tools-${ver}${cached}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue