mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
Merge branch 'easyconfigs-it4i-salomon'
This commit is contained in:
commit
e702565fae
10
compare.sh
10
compare.sh
@ -5,7 +5,13 @@ printf "\033c"
|
||||
printf "Prepare data for analyze ...\n"
|
||||
|
||||
ml --show_hidden -t av 2>&1 > /dev/null| awk '{print $1 }' | grep -v "/apps/*" > ml_av
|
||||
find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep -v "_not_installed/*" | cut -d '/' -f 6,7 | sed 's/.eb//' > eb-it4i_tmp
|
||||
|
||||
if [ "$1" = "not" ]; then
|
||||
find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep "_not_installed/*" | cut -d '/' -f 7,8 | sed 's/.eb//' > eb-it4i_tmp
|
||||
else
|
||||
find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep -v "_not_installed/*" | cut -d '/' -f 6,7 | sed 's/.eb//' > eb-it4i_tmp
|
||||
fi
|
||||
|
||||
while read i; do a=$(echo $i | cut -d '/' -f 1); b=$(echo $i | sed -rn "s/$a\/$a[-]+(.*)/\1/p"); echo "$a/$b" ;done < <(cat eb-it4i_tmp) > eb-it4i
|
||||
|
||||
echo "|easyconfig-it4i|state|" > compare_result.md
|
||||
@ -46,7 +52,7 @@ while read x; do
|
||||
else
|
||||
printf "$format" "$x" "${red}not installed${end}"
|
||||
echo "|$x|not installed|" >> compare_result.md
|
||||
echo "$x" >> mv
|
||||
# echo "$x" >> mv
|
||||
INSTALL="FALSE"
|
||||
fi
|
||||
|
||||
|
1393
compare_result.md
1393
compare_result.md
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user