From 14f1d20005199700cead81da6be3eeedcaf276c6 Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Fri, 11 Feb 2022 10:37:00 -0800 Subject: [PATCH] Use more user-friendly OS name when archiving standalone builds. --- script/archive-standalone-nix.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/script/archive-standalone-nix.sh b/script/archive-standalone-nix.sh index c71450583..7c6b83a5a 100755 --- a/script/archive-standalone-nix.sh +++ b/script/archive-standalone-nix.sh @@ -10,8 +10,14 @@ if [ -z "$VERSION" ]; then fi OS=$(uname) + +FRIENDLY_OS_NAME="linux" +if [ $OS == "Darwin" ]; then + FRIENDLY_OS_NAME="macos" +fi + ARCH=$(uname -m) -OS_ARCH="${OS}-${ARCH}" +OS_ARCH="${FRIENDLY_OS_NAME}-${ARCH}" OUTNAME="musikcube_${OS_ARCH}_$VERSION" OUTDIR="dist/$OUTNAME" SCRIPTDIR=`dirname "$0"`