Adding darwin platform to common.sh build script

This commit is contained in:
Islam Sharabash 2014-03-01 09:14:36 -08:00 committed by aph
parent 29ae98d186
commit f124ebadde

View File

@ -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)"