Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1
newvers.sh runs mkfifo which did not exist before this change. However, I didn't notice before because it is run from a function where a missing command does cause a noticeable failure. Reviewed By: emaste, markj Differential Revision: https://reviews.freebsd.org/D18377
This commit is contained in:
parent
419333b944
commit
c10d927c40
@ -2215,6 +2215,8 @@ _basic_bootstrap_tools+=usr.bin/ldd
|
|||||||
_basic_bootstrap_tools+=usr.sbin/services_mkdb usr.sbin/pwd_mkdb
|
_basic_bootstrap_tools+=usr.sbin/services_mkdb usr.sbin/pwd_mkdb
|
||||||
# sysctl/chflags are required for installkernel:
|
# sysctl/chflags are required for installkernel:
|
||||||
_basic_bootstrap_tools+=sbin/sysctl bin/chflags
|
_basic_bootstrap_tools+=sbin/sysctl bin/chflags
|
||||||
|
# mkfifo is used by sys/conf/newvers.sh
|
||||||
|
_basic_bootstrap_tools+=usr.bin/mkfifo
|
||||||
|
|
||||||
.if ${MK_AMD} != "no"
|
.if ${MK_AMD} != "no"
|
||||||
# unifdef is only used by usr.sbin/amd/libamu/Makefile
|
# unifdef is only used by usr.sbin/amd/libamu/Makefile
|
||||||
|
@ -86,7 +86,7 @@ git_tree_modified()
|
|||||||
local fifo
|
local fifo
|
||||||
|
|
||||||
fifo=$(mktemp -u)
|
fifo=$(mktemp -u)
|
||||||
mkfifo -m 600 $fifo
|
mkfifo -m 600 $fifo || exit 1
|
||||||
$git_cmd --work-tree=${VCSTOP} diff-index HEAD > $fifo &
|
$git_cmd --work-tree=${VCSTOP} diff-index HEAD > $fifo &
|
||||||
while read smode dmode ssha dsha status file; do
|
while read smode dmode ssha dsha status file; do
|
||||||
if ! expr $dsha : '^00*$' >/dev/null; then
|
if ! expr $dsha : '^00*$' >/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user