Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/clr commit: 5cd5c62f29]
Esse commit está contido em:
paulfreddy
2020-01-24 02:52:57 -08:00
commit de Maneesh Gupta
commit fec5105d9c
2 arquivos alterados com 2 adições e 2 exclusões
+1 -1
Ver Arquivo
@@ -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 -1
Ver Arquivo
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi