Skip to content

Commit

Permalink
Match more windows uname output in install script
Browse files Browse the repository at this point in the history
Updates install script to match OS values that start with "Windows".
Also switches to match arch x86_64 instead of amd64 as that appears to
be the uname -m output for valid distributions.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
  • Loading branch information
hasheddan committed Jan 2, 2022
1 parent 4a2c01d commit 9fdc21c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ unsupported_arch() {
}

case $OS in
CYGWIN* | MINGW64*)
if [ $ARCH = "amd64" ]
CYGWIN* | MINGW64* | Windows*)
if [ $ARCH = "x86_64" ]
then
OS_ARCH=windows_amd64
BIN=crank.exe
Expand Down

0 comments on commit 9fdc21c

Please sign in to comment.