Skip to content
Snippets Groups Projects
Commit aa61bd28 authored by Easy Build's avatar Easy Build
Browse files

Tue, 12 Dec 2017 08:57:46 +0100

parent 4bf75fff
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,30 @@ else
ml --show-hidden -t av 2>&1 > /dev/null| awk '{print $1 ",3"}' | grep -v -e '/,\|:' > uv2000.csv
./modules.py > uv2000.md
MODULEBASE="/apps/phi/modules"
MODULEPATH=""
for dir in `ls $MODULEBASE`
do
# Exclude following directories
if [[ ($dir == "all") ]]; then
continue
fi
# In case that it's directory
if [ -d $MODULEBASE/$dir ]; then
if [ -z $MODULEPATH ]; then
MODULEPATH="$MODULEBASE/$dir"
else
MODULEPATH="$MODULEPATH:$MODULEBASE/$dir"
fi
fi
done
export MODULEPATH
ml --show-hidden -t av 2>&1 > /dev/null| awk '{print $1 ",3"}' | grep -v -e '/,\|:' > phi.csv
./modules.py > phi.md
fi
DATE=`date -R`
......
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