Dzahn has submitted this change and it was merged.

Change subject: Fixup writing of newlines and done to make output consistent 
and sensible
......................................................................


Fixup writing of newlines and done to make output consistent and sensible

Updating ExtensionMessages-1.22wmf8.php...

Updating LocalisationCache for 1.22wmf8... done

becomes

Updating ExtensionMessages-1.22wmf8.php... done
Updating LocalisationCache for 1.22wmf8... done

Change-Id: Ic5e8f37975a8826482494a72fd0f3b35ce5d82cb
---
M files/scap/mw-update-l10n
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/files/scap/mw-update-l10n b/files/scap/mw-update-l10n
index 32bb77c..07eebb4 100755
--- a/files/scap/mw-update-l10n
+++ b/files/scap/mw-update-l10n
@@ -38,13 +38,14 @@
 for i in ${mwExtVerDbSets[@]}; do
        mwVerNum=${i%=*}
        mwDbName=${i#*=}
-       echo "Updating ExtensionMessages-$mwVerNum.php..."
+       echo -n "Updating ExtensionMessages-$mwVerNum.php..."
        mwTempDest=$(sudo -u apache mktemp)
        sudo -u apache $BINDIR/mwscript mergeMessageFileList.php 
--wiki="$mwDbName" \
                --list-file=$MW_COMMON_SOURCE/wmf-config/extension-list $QUIET 
--output="$mwTempDest"
        sudo -u apache chmod 664 "$mwTempDest"
        cp "$mwTempDest" 
$MW_COMMON_SOURCE/wmf-config/ExtensionMessages-"$mwVerNum".php
        sudo -u apache rm "$mwTempDest"
+       echo "done"
 
        # Update ExtensionMessages-*.php in the local copy
        sudo -u mwdeploy cp 
$MW_COMMON_SOURCE/wmf-config/ExtensionMessages-"$mwVerNum".php 
$MW_COMMON/wmf-config/

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic5e8f37975a8826482494a72fd0f3b35ce5d82cb
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to