Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/hip commit: f653c8c999]
Этот коммит содержится в:
paulfreddy authored and Maneesh Gupta committed 2020-01-24 16:22:57 +05:30
1 родитель af3e8f633a
Коммит 68238a43ae
2 files changed
+2 -2

No files matched your search

+1 -1
Просмотреть файл
@@ -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
Просмотреть файл
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi