Pass purism-librem5.lst to uuu relative to boot-purism-librem5.sh

This modification passes purism-librem5.lst to uuu relative to the location of boot-purism-librem5.sh rather than from pwd.
In this way, a user does not have to cd into the directory containing boot-purism-librem5.sh for uuu to read purism-librem5.lst properly.
This commit is contained in:
JC Staudt 2023-04-19 23:58:28 -07:00 committed by GitHub
parent ee695a0930
commit 28af541515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
#!/bin/sh
uuu purism-librem5.lst
REPOROOT="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
uuu $REPOROOT/purism-librem5.lst