From 53491bdca2428378b08e5b8aaf00d339114764f2 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 7 Sep 2025 17:49:12 +0100 Subject: tree.sh: don't combine remkdir/cd gnupath it's stupid. separate them, to make the code readable. Signed-off-by: Leah Rowe --- include/tree.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/tree.sh') 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"}" -- cgit v1.2.1