diff options
-rwxr-xr-x | scripts/install-build-deps.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/install-build-deps.sh b/scripts/install-build-deps.sh index ac9e4f1..92ee42b 100755 --- a/scripts/install-build-deps.sh +++ b/scripts/install-build-deps.sh @@ -1,7 +1,10 @@ -#!/bin/bash -eu +#!/usr/bin/env bash # # Install build dpenedencies. +set -e +set -u + platform=$(uname -s) if [ -e /etc/os-release ]; then @@ -23,6 +26,9 @@ case $platform in yum install -y \ gcc make cmake zlib-devel openssl-devel rpm-build ;; + FreeBSD-freebsd) + pkg install cmake + ;; *) echo "unsupported platform: $platform" exit 1 |