Fix install script syntax error (#1805)
Fix hip-nvcc install warning on postinstall and prerm script
[ROCm/hip commit: f653c8c999]
This commit is contained in:
committed by
Maneesh Gupta
parent
af3e8f633a
commit
68238a43ae
@@ -3,6 +3,6 @@
|
||||
ROCMDIR=@ROCM_PATH@
|
||||
HIPDIR=$ROCMDIR/hip
|
||||
|
||||
if [ -d $ROCMDIR]
|
||||
if [ -d $ROCMDIR] ; then
|
||||
ln -s -f $ROCMDIR /opt/rocm
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -L "/opt/rocm" ]
|
||||
if [ -L "/opt/rocm" ] ; then
|
||||
unlink /opt/rocm
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user