From 0bc1bed704cc7b7292be893f0c8c2b9f8f6a4b60 Mon Sep 17 00:00:00 2001 From: cperciva Date: Mon, 24 Oct 2005 22:32:19 +0000 Subject: 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 --- usr.bin/alias/generic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/alias') 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+"$@"} -- cgit v1.1