Fix extra colon in site-updater.sh

This commit is contained in:
idk
2020-09-26 01:59:42 -04:00
parent add2fbb0c6
commit d02f436630

View File

@ -16,7 +16,7 @@ if [ -d ./.git ]; then
./compile-messages-i2hq.sh
fi
echo "Git revision: $(git log -n 1 | grep commit | sed 's/commit //' | sed 's/ .*$//')" >./i2p2www/pages/include/mtnversion
echo "Git revision: $(git log -n 1 | grep commit | sed 's/commit: //' | sed 's/ .*$//')" >./i2p2www/pages/include/mtnversion
if grep "^git: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then
echo "Python files changed, restarting server"