From 532cd1437c35e2ea34db7f6aeb7d82b91e576dad Mon Sep 17 00:00:00 2001 From: Smooth Operator Date: Sun, 21 Jan 2024 10:41:07 -0500 Subject: [PATCH] lint --- lib/utils.bash | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/utils.bash b/lib/utils.bash index 8682385..7e53cb5 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -19,7 +19,7 @@ fi sort_versions() { sed 'h; s/[+-]/./g; s/$/.z/; G; s/\n/ /' | - LC_ALL=C sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4 -k 5,5n | awk '{print $2}' + LC_ALL=C sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4 -k 5,5n | awk '{print $2}' } list_github_tags() { @@ -34,10 +34,12 @@ list_all_versions() { detect_target_triple() { # Get the OS name (Darwin or Linux) - local os_name=$(uname -s) + local os_name + os_name=$(uname -s) # Get the machine hardware name (x86_64) - local machine_hw_name=$(uname -m) + local machine_hw_name + machine_hw_name=$(uname -m) # Normalize and construct the target triple case "$os_name" in