modified: README.md

modified:   z/zlib/zlib-1.2.11.eb
	modified:   z/zlib/zlib-1.2.8.eb
	deleted:    duplicate.sh
This commit is contained in:
Lukáš Krupčík 2018-10-03 08:56:03 +02:00
parent 9b63316da8
commit e7acf1b8ec
4 changed files with 5 additions and 48 deletions

View File

@ -1,5 +1,7 @@
# Repository for easyconfigs IT4Innovations
revision 3.10.2018
[mailto](mailto:easybuild@it4i.cz)
## Branch master
@ -13,7 +15,3 @@
## Branch easyconfigs-it4i-anselm
[here](https://code.it4i.cz/sccs/easyconfigs-it4i/tree/it4i-anselm)
## duplicate.sh
Compare md5 hash between it4i easyconfigs and develop easyconfigs

View File

@ -1,43 +0,0 @@
# !/bin/bash
printf "\033c"
DIR=`pwd`
red=$'\e[1;31m'
grn=$'\e[1;32m'
yel=$'\e[1;33m'
blu=$'\e[1;34m'
mag=$'\e[1;35m'
cyn=$'\e[1;36m'
end=$'\e[0m'
format="| MD5 | %-32s | Name | %-80s\n"
echo -n " Preparing IT4I .......... ["
for a in `find /apps/easybuild/easyconfigs-develop/easybuild/easyconfigs/ -type f -name *.eb`; do md5sum $a | grep -v "__archive__" | sed 's| .||' | cut -d '/' -f 1,8 | tr "/" ";" | sed 's|apps||'; done > develop && echo -e "\e[32m OK \e[0m]" || echo -e "\e[31mFAIL\e[0m]"
echo -n " Preparing develop ....... ["
for a in `find . -type f -name *.eb`; do md5sum $a | grep -v "__archive__" | sed 's| .||' | cut -d '/' -f 1,4 | tr "/" ";" | sed 's|apps||'; done > it4i && echo -e "\e[32m OK \e[0m]" || echo -e "\e[31mFAIL\e[0m]"
echo ""
echo "Checking..."
for x in `cat develop`; do
X=$(echo "$x" | cut -d ';' -f 1)
Xname=$(echo "$x" | cut -d ';' -f 2)
for y in `cat it4i | cut -d ';' -f 1`; do
if [ "$X" = "$y" ]; then
printf "$format" "${red}$X${end}" "${red}$Xname${end}"
echo "$x" >> duplicate
break
fi
done
printf "$format" "${grn}$X${end}" "${grn}$Xname${end}"
done
echo ""
for read in `cat duplicate`; do grep "$read" it4i; done | sort -u > remove_list
for rm in `cat remove_list | cut -d ';' -f 2`; do find . -name $rm -exec rm {} \;; done
rm it4i develop duplicate remove_list

View File

@ -1,4 +1,4 @@
# IT4Innovations
# IT4Innovations 2018
easyblock = 'ConfigureMake'

View File

@ -1,3 +1,5 @@
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'zlib'