diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-10-24 22:32:19 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-10-24 22:32:19 +0000 |
commit | 0bc1bed704cc7b7292be893f0c8c2b9f8f6a4b60 (patch) | |
tree | c7ffb3fb4d045006ac701ff635e07f61e30e6e6a /usr.bin | |
parent | 679189182ba97332545877c8fd12c498bf999146 (diff) | |
download | FreeBSD-src-0bc1bed704cc7b7292be893f0c8c2b9f8f6a4b60.zip FreeBSD-src-0bc1bed704cc7b7292be893f0c8c2b9f8f6a4b60.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/alias/generic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/alias/generic.sh b/usr.bin/alias/generic.sh index 33a39ad..d9c3127 100644 --- a/usr.bin/alias/generic.sh +++ b/usr.bin/alias/generic.sh @@ -1,4 +1,4 @@ #!/bin/sh # $FreeBSD$ # This file is in the public domain. -${0##*/} ${1+"$@"} +builtin ${0##*/} ${1+"$@"} |