[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: Version number for package builder is wrong
From: |
Ben Pfaff |
Subject: |
Re: PSPP-BUG: Version number for package builder is wrong |
Date: |
Sun, 01 Aug 2010 17:58:29 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
András Murányi <address@hidden> writes:
> It seems that checkinstall collects the version number from config.log, on
> line 1205:
> VERSION=`grep '#define VERSION' config.log| awk -F \" '{print $ 2}'`
> It expects to have one hit for '#define VERSION', and it more because of
> failed includes where the error message actually contains the #defines for
> each failed call. Please see the attached config.log.
I think that this is just buggy then. It should just collect one
version. I would change the line to:
VERSION=`grep '#define VERSION' config.log| awk -F \" '{print $2}' | sed 1q`
--
Ben Pfaff
http://benpfaff.org