RPM Packaging: Skip comments in configure.in

Skip comments in the configure.in file, so we don't end up using the
commented out version information.

Change-Id: I14bef1d448b77c915aa04b3fe555b270ce20ac67
Reviewed-on: http://gerrit.openafs.org/2261
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2010-06-26 15:35:07 +01:00 committed by Derrick Brashear
parent fc76d416bb
commit 3708722078

View File

@ -48,6 +48,8 @@ my $linuxrel;
my $fh = new IO::File $srcdir."/configure.in"
or die "Unable to find unpacked configure.in file";
while(<$fh>) {
next if (/^\s*\#/);
if (/AM_INIT_AUTOMAKE\(openafs,(.*)\)/) {
$afsversion = $1;
next;