mediawiki/add_extension.sh

10 lines
160 B
Bash
Raw Normal View History

2014-11-24 21:59:58 -06:00
#!/bin/bash
EXT_NAME=$1
2014-12-05 08:49:05 -06:00
EXT_VERSION=$2
2014-11-24 21:59:58 -06:00
cd /app/extensions
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/$1
cd $1
2014-12-05 08:49:05 -06:00
git checkout -b $2 origin/$2