I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit b403e74f authored by str4d's avatar str4d
Browse files

Fixed detection of Python file changes

parent 9d299b35
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then ...@@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then
./compile-messages-i2hq.sh ./compile-messages-i2hq.sh
fi 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 if [ $? -eq 0 ]; then
echo "Python files changed, restarting server" echo "Python files changed, restarting server"
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa
......
...@@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then ...@@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then
./compile-messages.sh ./compile-messages.sh
fi 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 if [ $? -eq 0 ]; then
echo "Python files changed, restarting server" echo "Python files changed, restarting server"
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment