diff options
author | Leah Rowe <leah@libreboot.org> | 2025-09-07 17:49:12 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-09-07 17:49:12 +0100 |
commit | 53491bdca2428378b08e5b8aaf00d339114764f2 (patch) | |
tree | da8bc30f3356b90333186febecfedf0b59866eee /include/tree.sh | |
parent | c4cd9c08df60ee5d62df6db75aab593fc14d6bad (diff) |
tree.sh: don't combine remkdir/cd gnupath
it's stupid. separate them, to make the code readable.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/tree.sh')
-rw-r--r-- | include/tree.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tree.sh b/include/tree.sh index 7dbb04cc..e5030064 100644 --- a/include/tree.sh +++ b/include/tree.sh @@ -269,7 +269,8 @@ check_gnu_path() [ "$gnatfull" = "$gccfull" ] || return 1 ( - remkdir "$xbtmp/gnupath" && x_ cd "$xbtmp/gnupath" + remkdir "$xbtmp/gnupath" + x_ cd "$xbtmp/gnupath" for _gnubin in "$_gnudir/$2"*"-$_gnuver"; do _gnuutil="${_gnubin##*/}" && [ -e "$_gnubin" ] && \ x_ ln -s "$_gnubin" "${_gnuutil%"-$_gnuver"}" |