Index: trunk/tools/mwmultiversion/scripts/sync-l10nupdate |
— | — | @@ -3,6 +3,11 @@ |
4 | 4 | PATH=/bin:/usr/bin:/sbin:/usr/sbin: |
5 | 5 | MWVER="$1" |
6 | 6 | |
| 7 | +if [ -z "$MWVER" ]; then |
| 8 | + echo "FAILED: MediaWiki version not provided" |
| 9 | + exit 1 |
| 10 | +fi |
| 11 | + |
7 | 12 | echo "Synchronizing /home/wikipedia/common/php-$MWVER/cache/l10n to /usr/local/apache/common-local/php-$MWVER/cache/l10n..." |
8 | 13 | echo "mediawiki-installation:" |
9 | 14 | |