diff --git a/Makefile.inc1 b/Makefile.inc1 index 8a10e614deae..d1f25e193a14 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -463,7 +463,7 @@ TMPPATH= ${STRICTTMPPATH}:${PATH} # when in the middle of installing over this system. # .if make(distributeworld) || make(installworld) || make(stageworld) -INSTALLTMP!= /usr/bin/mktemp -d -u -t install +INSTALLTMP!= mktemp -d -u -t install .endif .if make(stagekernel) || make(distributekernel) diff --git a/bin/sh/mkbuiltins b/bin/sh/mkbuiltins index fb77f509b0ba..443a3dcbe705 100755 --- a/bin/sh/mkbuiltins +++ b/bin/sh/mkbuiltins @@ -34,7 +34,7 @@ # @(#)mkbuiltins 8.2 (Berkeley) 5/4/95 # $FreeBSD$ -temp=`/usr/bin/mktemp -t ka` +temp=`mktemp -t ka` havehist=1 if [ "X$1" = "X-h" ]; then havehist=0 diff --git a/bin/sh/mktokens b/bin/sh/mktokens index 8c65c8ddffa9..b7213e6831f6 100644 --- a/bin/sh/mktokens +++ b/bin/sh/mktokens @@ -38,7 +38,7 @@ # token marks the end of a list. The third column is the name to print in # error messages. -temp=`/usr/bin/mktemp -t ka` +temp=`mktemp -t ka` cat > $temp <<\! TEOF 1 end of file TNL 0 newline