mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Use head -n 1 instead of -1. (From SUSE LINUX)
(Logical change 1.303)
This commit is contained in:
parent
96557cde6c
commit
d5c044de1b
@ -7,4 +7,4 @@ fi
|
||||
|
||||
# Get the gcc version. Can't do this in configure.ac as automake refuses to
|
||||
# preserve the square brackets while generating the configure script.
|
||||
$1 --version 2>&1 | head -1 | sed s/"egcs-"// | sed s/"gcc (GCC) \([0-9]\.[0-9]*\).*"/"\1"/
|
||||
$1 --version 2>&1 | head -n 1 | sed s/"egcs-"// | sed s/"gcc (GCC) \([0-9]\.[0-9]*\).*"/"\1"/
|
||||
|
Loading…
Reference in New Issue
Block a user