mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-12 21:21:05 +00:00
MSIX packaging: fix determining the version & allow overriding it
This commit is contained in:
parent
ba94a862c8
commit
77953c593d
@ -5,7 +5,6 @@ set -e -x
|
||||
cd "$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
base_dir=${base_dir:-/z/home/mosu/files/html/bunkus.org/videotools/mkvtoolnix/windows/releases}
|
||||
archive_dir="${archive_dir:-${base_dir}/${mtxversion}}"
|
||||
|
||||
function determine_latest_version {
|
||||
ls "${base_dir}" | \
|
||||
@ -15,7 +14,8 @@ function determine_latest_version {
|
||||
tail -n 1
|
||||
}
|
||||
|
||||
mtxversion=$(determine_latest_version)
|
||||
mtxversion=${mtxversion:-$(determine_latest_version)}
|
||||
archive_dir="${archive_dir:-${base_dir}/${mtxversion}}"
|
||||
|
||||
sign=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user