scripts/pkgdep.sh: use 'uname -s' only for FreeBSD
Change-Id: Ia3c0d9f91d9bcc8bfd7254a24a1f20c48c5cd50e Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/424411 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
4f43b353bc
commit
6637dd32be
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Please run this script as root.
|
||||
|
||||
SYSTEM=`uname -s`
|
||||
|
||||
scriptsdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $scriptsdir/..)
|
||||
@ -56,7 +55,7 @@ elif [ -f /etc/SuSE-release ]; then
|
||||
zypper install -y libpmemblk-devel
|
||||
# Additional dependencies for building docs
|
||||
zypper install -y doxygen mscgen graphviz
|
||||
elif [ $SYSTEM = "FreeBSD" ] ; then
|
||||
elif [ $(uname -s) = "FreeBSD" ] ; then
|
||||
pkg install -y gmake cunit openssl git devel/astyle bash py27-pycodestyle \
|
||||
python misc/e2fsprogs-libuuid sysutils/sg3_utils nasm
|
||||
# Additional dependencies for building docs
|
||||
|
Loading…
Reference in New Issue
Block a user