don't assume uname in /usr/bin/ (#1138)
uname exists in /bin on Ubuntu. As such, the installation fails.
The script determines the OS without specifying the complete path to uname. Do
the same in order to determine ARCH.
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ then
|
||||
abort "Installer is only supported on Linux."
|
||||
fi
|
||||
|
||||
ARCH="$(/usr/bin/uname -m)"
|
||||
ARCH="$(uname -m)"
|
||||
|
||||
# fix arch on linux
|
||||
if [[ "${ARCH}" == "aarch64" ]]
|
||||
|
||||
Reference in New Issue
Block a user