aboutsummaryrefslogtreecommitdiff
path: root/mediawiki-dl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-04-01 15:50:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-04-01 15:50:58 -0300
commit227d84acc0a06253f3f0d31a25074178a3b2e507 (patch)
treef65d537b10103e8638f500517ff9f485f6deaec7 /mediawiki-dl
parentd26792dfcc4240669095652fd5aedc14cce9f4f6 (diff)
downloaddownloaders-227d84acc0a06253f3f0d31a25074178a3b2e507.tar.gz
downloaders-227d84acc0a06253f3f0d31a25074178a3b2e507.tar.bz2
Fix extension symlinking
Diffstat (limited to 'mediawiki-dl')
-rwxr-xr-xmediawiki-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediawiki-dl b/mediawiki-dl
index 8535e30..4cc2cb4 100755
--- a/mediawiki-dl
+++ b/mediawiki-dl
@@ -53,7 +53,7 @@ function mediawiki_upgrade {
$sudo cp -a mediawiki-$OLD_VERSION/contrib mediawiki-$VERSION/
# Symlink extensions
- for extension in mediawiki-$OLD_VERSION/extensions/*; do
+ for extension in `ls mediawiki-$OLD_VERSION/extensions`; do
if [ -h "mediawiki-$OLD_VERSION/extensions/$extension" ]; then
$sudo cp mediawiki-$OLD_VERSION/extensions/$extension mediawiki-$VERSION/extensions/$extension
fi