mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
lint: fix SC2174 shellcheck warning
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -v
|
||||
|
||||
mkdir -m 770 -p /store/{user1,project1,project2}
|
||||
mkdir -p /store/{user1,project1,project2}
|
||||
chmod 0770 /store/{user1,project1,project2}
|
||||
|
||||
for i in user1 project1 project2; do
|
||||
chgrp $i /store/$i
|
||||
|
||||
@@ -112,7 +112,6 @@ array set file_lint_opts [list\
|
||||
script/add.modules {-e SC2006,SC2016,SC2162,SC2164,SC2268}\
|
||||
doc/example/compiler-etc-dependencies/example-sessions/ompi-switch.sh.m431 {-e SC2124,SC2086}\
|
||||
doc/example/compiler-etc-dependencies/example-sessions/common_code.sh {-e SC2034,SC2124,SC2268}\
|
||||
contrib/guide/get_started/12-datadir-create.sh {-e SC2174}\
|
||||
contrib/guide/get_started/00-cleanup.sh {-e SC2164}\
|
||||
testsuite/bin/install_test_sh {-e SC1090,SC2004,SC2086,SC2124,SC3037,SC3044}\
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user