artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09377ff
)
If config-file is not starting with /, consider it to be a
author
niklas
<niklas@openbsd.org>
Wed, 8 Jan 1997 13:37:50 +0000
(13:37 +0000)
committer
niklas
<niklas@openbsd.org>
Wed, 8 Jan 1997 13:37:50 +0000
(13:37 +0000)
relative path.
sys/kern/makesyscalls.sh
patch
|
blob
|
history
diff --git
a/sys/kern/makesyscalls.sh
b/sys/kern/makesyscalls.sh
index
596c878
..
cc0bdf7
100644
(file)
--- 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