lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2ca982f 1/2: Rename a local variable for clar


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2ca982f 1/2: Rename a local variable for clarity
Date: Sat, 14 Apr 2018 18:26:48 -0400 (EDT)

branch: master
commit 2ca982fca4e7427e8b9ce1167f1096b24966ba7f
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

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

diff --git a/install_wx.sh b/install_wx.sh
index 257c10c..01da99e 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -89,10 +89,10 @@ do
     suburl=$(git config --file .gitmodules --get submodule.${subpath}.url)
 
     # If the submodule hasn't been cached yet, clone it to cache now.
-    cache_url="$cache_dir"/${suburl##*/}
-    if ! git ls-remote "$cache_url" >/dev/null
+    cache_suburl="$cache_dir"/${suburl##*/}
+    if ! git ls-remote "$cache_suburl" >/dev/null
     then
-        git clone --bare "$suburl" "$cache_url"
+        git clone --bare "$suburl" "$cache_suburl"
     fi
 
     # Configure the submodule to use URL relative to the one used for the



reply via email to

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