diff options
author | Max Horn | 2006-03-04 09:24:51 +0000 |
---|---|---|
committer | Max Horn | 2006-03-04 09:24:51 +0000 |
commit | 6c691283deb112175ab4fcc3323805e80522153d (patch) | |
tree | 30e6d0bb8ec2743eb24bef2bbb1095cbe413f0e2 /dists/debian/prepare | |
parent | 16a8c60483993f6391c2177c7f01f3bc5ec11cfa (diff) | |
download | scummvm-rg350-6c691283deb112175ab4fcc3323805e80522153d.tar.gz scummvm-rg350-6c691283deb112175ab4fcc3323805e80522153d.tar.bz2 scummvm-rg350-6c691283deb112175ab4fcc3323805e80522153d.zip |
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
Diffstat (limited to 'dists/debian/prepare')
-rwxr-xr-x | dists/debian/prepare | 2 |
1 files changed, 1 insertions, 1 deletions
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` |