hipgenisa.sh: exit if no command-line args specified
Change-Id: Ic1b532927fdbb5b9dfe6b2dd144ffad1ee2e6b16
此提交包含在:
1 父節點
23068b4ac5
當前提交
2bb7ad5eba
1 file changed
+2
-3
+2
-3
@@ -1,8 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $1 = " " ]
|
||||
then
|
||||
exit
|
||||
if [ $# = 0 ]; then
|
||||
>&2 echo "$(basename $0): Invalid number of arguments" && exit 1
|
||||
fi
|
||||
|
||||
: ${ROCM_PATH:=/opt/rocm}
|
||||
|
||||
Reference in new issue
封鎖使用者