diff --git a/etc/update.vars b/etc/update.vars index 008970c0..1d9b0230 100644 --- a/etc/update.vars +++ b/etc/update.vars @@ -1,2 +1,3 @@ MTNURL=127.0.0.1:8998 MTNBRANCH=i2p.www.revamp +TOUCHFILE=/tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa diff --git a/site-updater-i2hq.sh b/site-updater-i2hq.sh index d0cf2f28..20652820 100755 --- a/site-updater-i2hq.sh +++ b/site-updater-i2hq.sh @@ -15,5 +15,5 @@ fi if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then echo "Python files changed, restarting server" - touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa + touch $TOUCHFILE fi diff --git a/site-updater.sh b/site-updater.sh index 15cb49da..73f77c67 100755 --- a/site-updater.sh +++ b/site-updater.sh @@ -15,5 +15,5 @@ fi if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then echo "Python files changed, restarting server" - touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa + touch $TOUCHFILE fi