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:
parent
679189182b
commit
0bc1bed704
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# This file is in the public domain.
|
||||
${0##*/} ${1+"$@"}
|
||||
builtin ${0##*/} ${1+"$@"}
|
||||
|
Loading…
Reference in New Issue
Block a user