Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/install-dependencies.sh')
-rw-r--r--Scripts/install-dependencies.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Scripts/install-dependencies.sh b/Scripts/install-dependencies.sh
index eeb06b3..be76ec0 100644
--- a/Scripts/install-dependencies.sh
+++ b/Scripts/install-dependencies.sh
@@ -15,11 +15,11 @@ fi
testcmd() { command -v "$1" &> /dev/null; }
-arch_name="$(uname -m)"
+arch="$(uname -m)"
osVariant=""
-if [ "$arch_name" != "x86_64" -a "$arch_name" != "arm64" ]; then
- echo "Error: Unsupported host arch $arch_name"
+if [ "$arch" != "x86_64" -a "$arch" != "arm64" ]; then
+ echo "Error: Unsupported host arch $arch"
exit -1
fi