lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master fb4d6416 3/8: Rename a local variable


From: Greg Chicares
Subject: [lmi-commits] [lmi] master fb4d6416 3/8: Rename a local variable
Date: Fri, 24 Jun 2022 19:56:24 -0400 (EDT)

branch: master
commit fb4d641665a7a8f5208199b942c673d941cc7fe1
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Rename a local variable
---
 set_toolchain.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/set_toolchain.sh b/set_toolchain.sh
index 5d93fd5b..22940938 100755
--- a/set_toolchain.sh
+++ b/set_toolchain.sh
@@ -97,10 +97,10 @@ local 
localbindir="$prefix/local/${LMI_COMPILER}_${LMI_TRIPLET}/bin"
 local locallibdir="$prefix/local/${LMI_COMPILER}_${LMI_TRIPLET}/lib"
 
 # Directory where clang can find gcc-built '*-config' scripts.
-local clanggccdir
+local clanggccbindir
 case "$LMI_COMPILER" in
     (clang)
-        clanggccdir="$prefix/local/gcc_${LMI_TRIPLET}/bin"
+        clanggccbindir="$prefix/local/gcc_${LMI_TRIPLET}/bin"
         ;;
     (*) ;;
 esac
@@ -115,7 +115,7 @@ esac
 
 local minimal_path
       minimal_path=${MINIMAL_PATH:-"/usr/bin:/bin:/usr/sbin:/sbin"}
-      minimal_path="${clanggccdir:+${clanggccdir}:}""$minimal_path"
+      minimal_path="${clanggccbindir:+${clanggccbindir}:}""$minimal_path"
 export PATH="$localbindir":"$locallibdir":"$minimal_path"
 
 # It is okay to export these variables unconditionally.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]