Use the "builtin" shell function to make sure that the requested

command is handled as a shell function.  This avoids the following
peculiar behaviour when /usr/bin is on a case-insensitive filesystem:
    # READ foo
(... long pause, depending upon the amount of swap space available ...)
    sh: Resource temporarily unavailable.

Reported by:	I can't remember; someone on IRC.
MFC after:	1 week
This commit is contained in:
Colin Percival 2005-10-24 22:32:19 +00:00
parent 58553b9925
commit 923e7a09b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151635

View File

@ -1,4 +1,4 @@
#!/bin/sh
# $FreeBSD$
# This file is in the public domain.
${0##*/} ${1+"$@"}
builtin ${0##*/} ${1+"$@"}