DEB: debian/control generated incorrectly
|Reported by:||SF/ys_||Owned by:||fingolfin|
The debian/control file is generated incorrectly,
because an incorrect version string. It looks like
Error is in debian/prepare, line 7
VERSION=`sed -n -e 's/CVS//g' -e 's/^const char
\*gScummVMVersion = "\(.*\)";/\1/p' base/main.cpp
It seems version is now defined in a constant at
base/internal_version.h and then it's called from
main.cpp, so it fails to check version.
Changing that line by this one seems to fix it:
VERSION=`sed -n -e 's/#define //g' -e 's/cvs//g' -e
base/internal_version.h `-0cvs`date +%Y%m%d`
Ticket imported from: #1423793. Ticket imported from: bugs/2487.