From: niklas Date: Wed, 8 Jan 1997 13:37:50 +0000 (+0000) Subject: If config-file is not starting with /, consider it to be a X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=31047ab62af56055dbb7d01856a1fb6c4d70e215;p=openbsd If config-file is not starting with /, consider it to be a relative path. --- diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 596c878abba..cc0bdf7553b 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -42,7 +42,12 @@ case $# in esac # source the config file. -. $1 +case $1 in + /*) . $1 + ;; + *) . ./$1 + ;; +esac # the config file sets the following variables: # sysnames the syscall names file