File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55base_dir=$( dirname $( realpath $0 ) )
66
77if [ $# -ne 5 ]; then
8- echo " ERROR: Usage: $0 <EESSI tmp dir (example: /tmp/$USER /EESSI)> <version (example: 2023.06)> <CPU arch subdir (example: x86_64/amd/zen2)> <accelerator subdir (example: nvidia/cc80)> <path to tarball>" >&2
8+ echo " ERROR: Usage: $0 <EESSI tmp dir (example: /tmp/$USER /EESSI)> <version (example: 2023.06)> <CPU arch subdir (example: x86_64/amd/zen2)> <accelerator subdir (example: accel/ nvidia/cc80)> <path to tarball>" >&2
99 exit 1
1010fi
1111eessi_tmpdir=$1
@@ -63,7 +63,7 @@ if [ -d ${eessi_version}/init ]; then
6363fi
6464
6565# consider both CPU-only and accelerator subdirectories
66- for subdir in ${cpu_arch_subdir} ${cpu_arch_subdir} /accel/ ${accel_subdir} ; do
66+ for subdir in ${cpu_arch_subdir} ${cpu_arch_subdir} /${accel_subdir} ; do
6767
6868 if [ -d ${eessi_version} /software/${os} /${subdir} /modules ]; then
6969 # module files
You can’t perform that action at this time.
0 commit comments