diff options
Diffstat (limited to 'scripts/common.sh')
-rw-r--r-- | scripts/common.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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)" |