lbmk/include
Leah Rowe f4b2a588e2 build: don't generate version/versiondate as root
don't run it directly at the bottom of err.sh,
because otherwise the version and versiondate
files will be generated when running "./build
dependencies distroname" which would then create
these files, but as root because the user runs
that specific command as root.

the rest of lbmk, for any other command, prevents
use of the root account, so running check_project
during "./build dependencies distroname" will cause
the build system to fail (because as non-root user,
the user will run lbmk and it will try to update
those files, and fail because it can't, due to lack
of permissions)

this patch fixes the issue, by only generating those
files if the user is *not* root

Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-11-08 06:11:24 +00:00
..
err.sh build: don't generate version/versiondate as root 2023-11-08 06:11:24 +00:00
git.sh Libreboot 20231101 2023-11-01 16:36:16 +00:00
mrc.sh 20231021hotfix: replace x_ with err in some places 2023-10-22 12:34:45 +01:00
option.sh include/option.sh: fix i945 bootblock copy 2023-10-25 12:58:52 +01:00