Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
vilmibm committed Aug 23, 2021
1 parent 2e78470 commit cead3ab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gh-user-status
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ arch="$(uname -m)"

if uname -a | grep Msys > /dev/null; then
if [ $arch = "x86_64" ]; then
exec "${extensionPath}/builds/windows-x86_64"
exec "${extensionPath}/builds/windows-x86_64" "$@"
elif [ $arch = "i686" ]; then
exec "${extensionPath}/builds/windows-i386"
exec "${extensionPath}/builds/windows-i386" "$@"
elif [ $arch = "i386" ]; then
exec "${extensionPath}/builds/windows-i386"
exec "${extensionPath}/builds/windows-i386" "$@"
fi
elif uname -a | grep Darwin > /dev/null; then
if [ $arch = "x86_64" ]; then
exec "${extensionPath}/builds/darwin-x86_64"
exec "${extensionPath}/builds/darwin-x86_64" "$@"
fi
elif uname -a | grep Linux > /dev/null; then
if [ $arch = "x86_64" ]; then
exec "${extensionPath}/builds/linux-x86_64"
exec "${extensionPath}/builds/linux-x86_64" "$@"
elif [ $arch = "i686" ]; then
exec "${extensionPath}/builds/linux-i386"
exec "${extensionPath}/builds/linux-i386" "$@"
elif [ $arch = "i386" ]; then
exec "${extensionPath}/builds/linux-i386"
exec "${extensionPath}/builds/linux-i386" "$@"
fi
fi

Expand Down

0 comments on commit cead3ab

Please sign in to comment.