Project

General

Profile

Actions

Bug #1596

closed

Generation on debian fails because of Version = -unknown in control file

Added by Eric Valette over 12 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2013-02-04
Due date:
% Done:

100%

Estimated time:
Found in version:
v3.3-453-g5dd5826
Affected Versions:

Description

reading the script I found the command run and tested it manually

git describe --dirty --match 'v*'
v3.3-453-g5dd5826

but

sh support/version
-unknown

sh x support/version
+ FILE=
+ '[' -d .git ']'
++ dirname support/version
+ cd support
+ git describe --dirty --match 'v*'
VER=
+ '[' 128 -ne 0 ']'
++ dirname support/version
+ cd support
+ git describe --match 'v*'
VER=-unknown
+ echo -unknown
+ sed 's/^v//'
+ sed 's/
\([0-9]*\)-\(g[0-9a-f]*\)/.\1~\2/'
VER=-unknown
+ '[' -z '' ']'
+ echo -unknown
-unknown
+ exit

Actions

Also available in: Atom PDF