mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:19:22 +02:00
made get_lazarus_revision.sh more generic
git-svn-id: trunk@11497 -
This commit is contained in:
parent
e2425ce469
commit
5e89f20772
@ -19,7 +19,10 @@ fi
|
|||||||
|
|
||||||
LazVersionPostfix=
|
LazVersionPostfix=
|
||||||
if [ "$1" = "append-revision" ]; then
|
if [ "$1" = "append-revision" ]; then
|
||||||
LazVersionPostfix=.$(./get_lazarus_revision.sh | sed -e 's/[^0-9]//')
|
LazVersionPostfix=$(./get_lazarus_revision.sh .)
|
||||||
|
if [ -n "$LazVersionPostfix" ]; then
|
||||||
|
LazVersionPostfix=.$LazVersionPostfix
|
||||||
|
fi
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ ! -f ../svn2revisioninc ]; then
|
echo $(svnversion $1 | sed -e 's/\([0-9]*\).*/\1/')
|
||||||
make -C ../../lcl
|
|
||||||
make -C ..
|
|
||||||
fi
|
|
||||||
|
|
||||||
../svn2revisioninc -s
|
|
||||||
|
|
||||||
# end.
|
# end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user