From 360fd2cc5aa6e35b63faf31b86f6255f3a2501d0 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Mon, 8 Mar 2021 12:14:37 +0100 Subject: [PATCH] pkgdep/rhel: Fix typo in alternatives path Signed-off-by: Michal Berger Change-Id: I6d3b7c6855899e3a9d355368c41e4d585db7f382 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6767 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki Reviewed-by: Shuhei Matsumoto --- scripts/pkgdep/rhel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgdep/rhel.sh b/scripts/pkgdep/rhel.sh index fa8c53536..653c57f81 100755 --- a/scripts/pkgdep/rhel.sh +++ b/scripts/pkgdep/rhel.sh @@ -85,7 +85,7 @@ yum install -y gcc gcc-c++ make cmake CUnit-devel libaio-devel openssl-devel \ if echo "$ID $VERSION_ID" | grep -E -q 'centos 8|rhel 8'; then yum install -y python36 #Create hard link to use in SPDK as python - if [[ ! -e /usr/bin/python && -e /etc/alternative/python3 ]]; then + if [[ ! -e /usr/bin/python && -e /etc/alternatives/python3 ]]; then ln -s /etc/alternatives/python3 /usr/bin/python fi else