mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +00:00
Use more user-friendly OS name when archiving standalone builds.
This commit is contained in:
parent
9ef84a0189
commit
14f1d20005
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user