Commit Graph

10 Commits

Author SHA1 Message Date
Slava Zanko
6376db2df1 maint/version.sh: removed bashizms.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-03 10:59:23 +03:00
Sergei Trofimovich
1e94073c2d maint/version.sh: added quoting guards file variables
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-25 17:22:53 +03:00
Stan. S. Krupoderov
2967f4434a Remove GNU specific option from version.sh 2009-07-25 18:03:09 +04:00
Slava Zanko
d9a72ea8c9 version.sh: Ticket 411 (make loops, rerunning configure ad infinitum)
version.h is dumped even when git is unavailable or broken
buildbot dislikes to fetch tags (git fetch --tags) => version.sh failure.
version.sh refused to create version.h when git is unavailable.

All those cases are hopefully fixed.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-20 14:45:09 +03:00
Sergei Trofimovich
3e81dd57c1 version.sh: unbreak version.h generation (--git-dir needs path to bare repo)
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:33:24 +03:00
Oswald Buddenhagen
a1864899d2 version.sh: fix typo
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:25:01 +03:00
Oswald Buddenhagen
d327943f4d version.sh: more elegant extraction of old version
sed is rather powerful ;)

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:24:59 +03:00
Oswald Buddenhagen
c7ba6209df version.sh: fix bashisms
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:24:58 +03:00
Oswald Buddenhagen
9a5c9cbc88 version.sh: don't suppress error messages from git availability check
otherwise there is no feedback at all.
as it happens, this also fixes a bashism

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:24:57 +03:00
Slava Zanko
f606e64861 Version of project now formed automatically from current git-describe output
* File version.h will be created (or changed) automatically
 * Fixed versions for rpm packages - all '-' changed to '.' in RPM_VERSION variable
 * when version.h is changed (or deleted) ./configure script will be invoked

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-07 00:56:07 +03:00