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:
Mohit Agarwal
2022-11-01 03:58:22 -07:00
committed by GitHub
parent dd30808e5e
commit fae01a991e
+1 -1
View File
@@ -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" ]]