Set osx as the os name

This commit is contained in:
Zachary Eisinger 2019-12-18 08:17:54 -08:00
parent e322cead28
commit 8886b529ee
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ get_current_os_name() {
local uname=$(uname) local uname=$(uname)
if [ "$uname" = "Darwin" ]; then if [ "$uname" = "Darwin" ]; then
echo "mac" echo "osx"
return 0 return 0
elif [ "$uname" = "Linux" ]; then elif [ "$uname" = "Linux" ]; then
local linux_platform_name local linux_platform_name
@ -139,7 +139,7 @@ get_legacy_os_name() {
local uname=$(uname) local uname=$(uname)
if [ "$uname" = "Darwin" ]; then if [ "$uname" = "Darwin" ]; then
echo "mac" echo "osx"
return 0 return 0
else else
if [ -e /etc/os-release ]; then if [ -e /etc/os-release ]; then