Stop using head(1) which is not available in installworld.
installworld should not be executing this anyhow but there is some obscure case doing it still. The head(1) binary is not part of ITOOLS and there's no need to add it. MFC after: 1 week Sponsored by: Dell EMC
This commit is contained in:
parent
4a4b4c98f5
commit
1930b98d49
@ -49,7 +49,7 @@ ${var}= ${${var}.${${X_}_ld_hash}}
|
||||
|
||||
.if ${ld} == "LD" || (${ld} == "XLD" && ${XLD} != ${LD})
|
||||
.if !defined(${X_}LINKER_TYPE) || !defined(${X_}LINKER_VERSION)
|
||||
_ld_version!= (${${ld}} --version || echo none) | head -n 1
|
||||
_ld_version!= (${${ld}} --version || echo none) | sed -n '1,1p'
|
||||
.if ${_ld_version} == "none"
|
||||
.warning Unable to determine linker type from ${ld}=${${ld}}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user