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:
cperciva 2005-10-24 22:32:19 +00:00
parent 679189182b
commit 0bc1bed704

View File

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