genoffset.sh: Use 10 X's instead of 5 for pick mkdtemp implementations
Linux fails to build now because the mkdtemp in the bootstrapped environment wants 6 or more X's. Use 10 out of an abundance of caution. Sponsored by: Netflix Reviewed by: arichards Differential Revision: https://reviews.freebsd.org/D31863
This commit is contained in:
parent
1e7b5f950b
commit
ecfbb2e302
@ -42,7 +42,7 @@ work()
|
||||
echo "#define _OFFSET_INC_"
|
||||
echo "#if !defined(GENOFFSET) && (!defined(KLD_MODULE) || defined(KLD_TIED))"
|
||||
last=
|
||||
temp=$(mktemp -d genoffset.XXXXX)
|
||||
temp=$(mktemp -d genoffset.XXXXXXXXXX)
|
||||
trap "rm -rf ${temp}" EXIT
|
||||
# Note: we need to print symbol values in decimal so the numeric sort works
|
||||
${NM:='nm'} ${NMFLAGS} -t d "$1" | grep __assym_offset__ | sed -e 's/__/ /g' | sort -k 4 -k 1 -n |
|
||||
|
Loading…
Reference in New Issue
Block a user