From 6c691283deb112175ab4fcc3323805e80522153d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Mar 2006 09:24:51 +0000 Subject: Patch #1434866 (Allow (again) the generation of deb pack.from current svn). Note: This does not imply endorsement of .deb building support, only that I hate letting working patches untended :-) svn-id: r21060 --- dists/debian/prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dists/debian') diff --git a/dists/debian/prepare b/dists/debian/prepare index db2a141c3d..8b684898e7 100755 --- a/dists/debian/prepare +++ b/dists/debian/prepare @@ -4,7 +4,7 @@ # calls "make deb". It adds a changelog entry to the top of debian/changelog # so that the version number is correct. -VERSION=`sed -n -e 's/CVS//g' -e 's/^const char \*gScummVMVersion = "\(.*\)";/\1/p' base/main.cpp `-0cvs`date +%Y%m%d` +VERSION=`sed -n -e 's/svn//g' -e 's/^#define SCUMMVM_VERSION "\(.*\)"/\1/p' base/internal_version.h`-0svn`date +%Y%m%d` USERNAME=`whoami` GECOS=`getent passwd $USERNAME | awk '-F[,:]' '{print $5}'` DOMAIN=`hostname --fqdn` -- cgit v1.2.3