Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65348


Change subject: Update to match current WMF usage
......................................................................

Update to match current WMF usage

Change-Id: I5e36f92b792e226ae4d78f05debd56356d70e091
---
M update
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TrustedXFF 
refs/changes/48/65348/1

diff --git a/update b/update
index 38f2d6b..744e977 100755
--- a/update
+++ b/update
@@ -5,10 +5,9 @@
        tempfile=`sudo -u apache mktemp`
        sudo -u apache chmod a+r "$tempfile"
        sudo -u apache mwscript extensions/TrustedXFF/generate.php 
--wiki=aawiki "$tempfile"
-       cp "$tempfile" ../../cache/trusted-xff.cdb
+       cp "$tempfile" ../../../wmf-config/trusted-xff.cdb
        if [ -x /usr/local/bin/sync-common-file ]; then
-               version="`pwd | awk -F/ '{print $5}'`"
-               sync-common-file "$version"/cache/trusted-xff.cdb || true
+               sync-common-file wmf-config/trusted-xff.cdb || true
        fi
        sudo -u apache rm -f "$tempfile"
 ) || echo "Failed"

-- 
To view, visit https://gerrit.wikimedia.org/r/65348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e36f92b792e226ae4d78f05debd56356d70e091
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TrustedXFF
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to