Merge pull request #1 from tzarebczan/patch-1

Update check_submodules.sh
This commit is contained in:
kodxana 2020-02-14 21:30:12 +01:00 committed by GitHub
commit d97c635d28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,18 +18,10 @@ function get_git_mtime {
fail=0
for f in icons/* "icons.qrc"; do
if (( $(get_git_mtime "$f") > $(get_git_mtime "contrib/deterministic-build/electrum-icons/") )); then
echo "Modification time of $f (" $(get_git_mtime --readable "$f") ") is newer than"\
"last update of electrum-icons"
fail=1
fi
done
if [ $(date +%s -d "2 weeks ago") -gt $(get_git_mtime "contrib/deterministic-build/electrum-locale/") ]; then
echo "Last update from electrum-locale is older than 2 weeks."\
"Please update it to incorporate the latest translations from crowdin."
fail=1
fi
exit ${fail}
exit ${fail}