path.sh: Further cleanup

Remove all symlinks each time, to ensure that no
stragglers are left behind, since they are being
re-generated each time anyway.

The code for determining version numbers has now
been unified under gnu_setver()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-12-30 14:10:32 +00:00
parent 5b24e0a5a9
commit 295463d281
2 changed files with 21 additions and 26 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ if [ -z "${TMPDIR+x}" ]; then
export TMPDIR="/tmp"
export TMPDIR="$(mktemp -d -t xbmk_XXXXXXXX)"
touch lock || $err "cannot create 'lock' file"
rm -Rf xbmkpath || $err "cannot create xbmkpath"
rm -Rf xbmkpath || $err "cannot remove xbmkpath"
mkdir -p xbmkpath || $err "cannot create xbmkpath"
export PATH="$PWD/xbmkpath:$PATH" || $err "Can't create xbmkpath"
xbmk_parent="y"