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@
|
ROCMDIR=@ROCM_PATH@
|
||||||
HIPDIR=$ROCMDIR/hip
|
HIPDIR=$ROCMDIR/hip
|
||||||
|
|
||||||
if [ -d $ROCMDIR]
|
if [ -d $ROCMDIR] ; then
|
||||||
ln -s -f $ROCMDIR /opt/rocm
|
ln -s -f $ROCMDIR /opt/rocm
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -L "/opt/rocm" ]
|
if [ -L "/opt/rocm" ] ; then
|
||||||
unlink /opt/rocm
|
unlink /opt/rocm
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user