From 31047ab62af56055dbb7d01856a1fb6c4d70e215 Mon Sep 17 00:00:00 2001 From: niklas Date: Wed, 8 Jan 1997 13:37:50 +0000 Subject: [PATCH] If config-file is not starting with /, consider it to be a relative path. --- sys/kern/makesyscalls.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.20.1