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
for dir in "$MODULEBASE"/*
do
# Exclude following directories
if [ $(basename $dir) = "all" ]; then
if [ "$(basename "$dir")" == "all" ]; then
continue
fi
# In case that it's directory
if [ -d $dir ]; then
if [ -d "$dir" ]; then
if [ -z $MODULEPATH ]; then
MODULEPATH=$dir
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