From 28af541515712da05a57923b8da531cb68a3feef Mon Sep 17 00:00:00 2001 From: JC Staudt <24510452+jcstaudt@users.noreply.github.com> Date: Wed, 19 Apr 2023 23:58:28 -0700 Subject: [PATCH] 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. --- src/boot-purism-librem5.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/boot-purism-librem5.sh b/src/boot-purism-librem5.sh index a8354cc..e67e7ee 100755 --- a/src/boot-purism-librem5.sh +++ b/src/boot-purism-librem5.sh @@ -1,3 +1,4 @@ #!/bin/sh -uuu purism-librem5.lst +REPOROOT="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)" +uuu $REPOROOT/purism-librem5.lst