From f124ebadde0194420af75b61457c2c238ea818b4 Mon Sep 17 00:00:00 2001 From: Islam Sharabash Date: Sat, 1 Mar 2014 09:14:36 -0800 Subject: Adding darwin platform to common.sh build script --- scripts/common.sh | 4 ++++ 1 file changed, 4 insertions(+) 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)" -- cgit