diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-09 14:31:43 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-09 14:31:43 +0100 |
commit | fb8d0c86c44ba98cc770222edcb18f0a492aa37a (patch) | |
tree | 39133793ff4863343c3b768ee36d749756cce5c8 /config/coreboot/default/patches/0038-mb-dell-Add-Latitude-E5420-Sandy-Bridge.patch | |
parent | 38aaaecf6b8aa9b58f56dff930139e070b1649dc (diff) |
build: exit if not running from lbmk directory
there's no portable(posix) way to check when running
from a symlink to lbmk in the current work directory
for example:
ln -s lbmk/build lbmktest
./lbmktest roms list
this would pass the new test, and first try to
include option.sh. in practise, the user probably doesn't
happen to have include/option.sh in their current path
i can use readlink here, but again not portable
the current check will suffice. it also works when
the symlink is called from $PATH
e.g. /usr/bin/lbmktest exists and you do:
lbmktest roms list
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0038-mb-dell-Add-Latitude-E5420-Sandy-Bridge.patch')
0 files changed, 0 insertions, 0 deletions