Skip to content
Snippets Groups Projects
Commit 3bca230b authored by David Hrbáč's avatar David Hrbáč
Browse files

Shellcheck

parent 351a6ef1
No related branches found
No related tags found
No related merge requests found
Pipeline #5313 passed with warnings
...@@ -27,11 +27,11 @@ else ...@@ -27,11 +27,11 @@ else
for dir in "$MODULEBASE"/* for dir in "$MODULEBASE"/*
do do
# Exclude following directories # Exclude following directories
if [ $(basename $dir) = "all" ]; then if [ "$(basename "$dir")" == "all" ]; then
continue continue
fi fi
# In case that it's directory # In case that it's directory
if [ -d $dir ]; then if [ -d "$dir" ]; then
if [ -z $MODULEPATH ]; then if [ -z $MODULEPATH ]; then
MODULEPATH=$dir MODULEPATH=$dir
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment