mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
version.pl: strip ALL whitespace
Strip all whitespace from version.pl input, in case combinations of tools causes stray \r or other whitespace characters (which has been observed.) Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
f8680b2b45
commit
ee85248e85
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/perl
|
||||
## --------------------------------------------------------------------------
|
||||
##
|
||||
##
|
||||
## Copyright 1996-2016 The NASM Authors - All Rights Reserved
|
||||
## See the file AUTHORS included with the NASM distribution for
|
||||
## the specific copyright holders.
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
## copyright notice, this list of conditions and the following
|
||||
## disclaimer in the documentation and/or other materials provided
|
||||
## with the distribution.
|
||||
##
|
||||
##
|
||||
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
## CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
## INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
($what) = @ARGV;
|
||||
|
||||
$line = <STDIN>;
|
||||
chomp $line;
|
||||
$line =~ s/\s+//g;
|
||||
|
||||
undef $maj;
|
||||
undef $min;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue