diff --git a/download_and_compile.sh b/download_and_compile.sh index a52ff19..034c5a3 100755 --- a/download_and_compile.sh +++ b/download_and_compile.sh @@ -18,7 +18,7 @@ # along with this program. If not, see . VERSION="2.33" -FGVERSION="release/3.6.0" +FGVERSION="release/$(git ls-remote --heads git://git.code.sf.net/p/flightgear/flightgear|grep '\/release\/'|cut -f4 -d'/'|sort -t . -k 1,1n -k2,2n -k3,3n|tail -1)" ####################################################### # THANKS TO