[ aufs ] define override for versions tagged outside default pattern

This commit is contained in:
Igor Pecovnik 2020-02-26 22:06:57 +01:00
parent b418347962
commit b2034aa04d
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -68,6 +68,9 @@ compilation_prepare()
# attach to specifics tag or branch
local aufstag=$(echo ${version} | cut -f 1-2 -d ".")
# manual overrides
if linux-version compare $version ge 5.4.3 ; then aufstag="5.4.3"; fi
# check if Mr. Okajima already made a branch for this version
git ls-remote --exit-code --heads https://github.com/sfjro/aufs5-standalone aufs${aufstag} >/dev/null