mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:13:24 +00:00
iOS build: next attempt to sort versions
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a689d4aa1f
commit
14348a8d9a
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ set -e
|
|||
TOP=$(pwd)
|
||||
SUBSURFACE_SOURCE=${TOP}/../../../subsurface
|
||||
IOS_QT=${TOP}/Qt
|
||||
QT_VERSION=$(cd ${IOS_QT}; ls -d [1-9]* | sort -n | tail -1)
|
||||
QT_VERSION=$(cd ${IOS_QT}; ls -d [1-9]* | awk -F. '{ printf("%02d.%02d.%02d\n", $1,$2,$3); }' | sort -n | tail -1 | sed -e 's/\.0/\./g;s/^0//')
|
||||
|
||||
if [ -z $QT_VERSION ] ; then
|
||||
echo "Couldn't determine Qt version; giving up"
|
||||
|
|
Loading…
Add table
Reference in a new issue