mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
fc76d416bb
commit
3708722078
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user