summaryrefslogtreecommitdiff
path: root/util/autoport/rce823.go
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-09 14:48:14 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-09 14:48:14 +0100
commit052414c0ca9c965abc2181491344aa27bc4501f4 (patch)
treeba75179f76b6103aa6717263f0260932d8bb8889 /util/autoport/rce823.go
parentfb8d0c86c44ba98cc770222edcb18f0a492aa37a (diff)
build: further prevent non-lbmk-work-directory
this is a follow-up to the previous commit again, there's no posix way to check the path to the file at argument 0, because readlink (utility) isn't defined in posix (the C function is defined, but not the utility included on many unices) check whether "build" (file) exists, and whether it is a symlink; if the latter, then we are definitely not in the lbmk work directory! Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/autoport/rce823.go')
0 files changed, 0 insertions, 0 deletions