Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script
This commit is contained in:
paulfreddy
2020-01-24 02:52:57 -08:00
zatwierdzone przez Maneesh Gupta
rodzic 8fc7cad90f
commit 5cd5c62f29
2 zmienionych plików z 2 dodań i 2 usunięć
+1 -1
Wyświetl plik
@@ -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
Wyświetl plik
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi