If config-file is not starting with /, consider it to be a
authorniklas <niklas@openbsd.org>
Wed, 8 Jan 1997 13:37:50 +0000 (13:37 +0000)
committerniklas <niklas@openbsd.org>
Wed, 8 Jan 1997 13:37:50 +0000 (13:37 +0000)
relative path.

sys/kern/makesyscalls.sh

index 596c878..cc0bdf7 100644 (file)
@@ -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