diff --git a/scripts/common.sh b/scripts/common.sh index 9efa3d5e6c..5196d594a3 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -4,11 +4,15 @@ if [ "$unameval" = 'Linux' ]; then platform='linux' elif [ "$unameval" = 'FreeBSD' ]; then platform='freebsd' +elif [ "$unameval" = 'Darwin' ]; then + platform='darwin' fi sha1sumcmd='sha1sum' if [ "$platform" = 'freebsd' ]; then sha1sumcmd='shasum' +elif [ "$platform" = 'darwin' ]; then + sha1sumcmd='shasum' fi pkgroot="$(pwd)"