diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2019-05-30 20:56:23 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2019-05-30 20:56:23 +0000 |
commit | 4af6033324c5f9d08608c1702e5ac07dec697a97 (patch) | |
tree | 9d405314bebb8793e7b6e527cd4c9ea735806b49 /sys/compat/cloudabi32 | |
parent | f1b0e6594176ca463f44c14c710df49b577efda3 (diff) | |
download | src-4af6033324c5f9d08608c1702e5ac07dec697a97.tar.gz src-4af6033324c5f9d08608c1702e5ac07dec697a97.zip |
makesyscalls.sh: always use absolute path for syscalls.conf
syscalls.conf is included using "." which per the Open Group:
If file does not contain a <slash>, the shell shall use the search
path specified by PATH to find the directory containing file.
POSIX shells don't fall back to the current working directory.
Submitted by: Nathaniel Wesley Filardo <nwf20@cl.cam.ac.uk>
Reviewed by: bdrewery
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D20476
Notes
Notes:
svn path=/head/; revision=348446
Diffstat (limited to 'sys/compat/cloudabi32')
-rw-r--r-- | sys/compat/cloudabi32/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/cloudabi32/Makefile b/sys/compat/cloudabi32/Makefile index 89a896e078e2..1e427212e827 100644 --- a/sys/compat/cloudabi32/Makefile +++ b/sys/compat/cloudabi32/Makefile @@ -12,6 +12,6 @@ sysent: cloudabi32_sysent.c cloudabi32_syscall.h cloudabi32_proto.h \ cloudabi32_sysent.c cloudabi32_syscall.h cloudabi32_proto.h \ cloudabi32_syscalls.c cloudabi32_systrace_args.c: \ ../../kern/makesyscalls.sh ../../contrib/cloudabi/syscalls32.master \ - syscalls.conf + ${.CURDIR}/syscalls.conf sh ../../kern/makesyscalls.sh ../../contrib/cloudabi/syscalls32.master \ - syscalls.conf + ${.CURDIR}/syscalls.conf |