pkgdep/rhel: Fix typo in alternatives path
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I6d3b7c6855899e3a9d355368c41e4d585db7f382 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6767 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
ba2fed77b4
commit
360fd2cc5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user