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"`