Fixed detection of Python file changes

This commit is contained in:
str4d
2013-08-29 06:57:23 +00:00
parent 9d299b357d
commit b403e74fd5
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then
./compile-messages.sh
fi
cat $TMP | grep "^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
cat $TMP | grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
if [ $? -eq 0 ]; then
echo "Python files changed, restarting server"
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa