mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 08:47:59 +02:00
fixed get_lazarus_version.sh
git-svn-id: trunk@9868 -
This commit is contained in:
parent
025627c932
commit
184edfb2e9
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
grep 'LazarusVersionStr= ' ../../ide/aboutfrm.pas \
|
||||
| sed -e 's/.*[^0-9 \.]\([0-9\.][0-9\.]*\)[^0-9\.].*/\1/'
|
||||
cat ../../ide/version.inc \
|
||||
| sed -e 's/.*[^0-9 \.]\([0-9\.]\+\)[^0-9\.].*/\1/'
|
||||
|
||||
# end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user