2014-05-03 11:26:59 +02:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
2014-06-10 19:26:37 +02:00
|
|
|
# This file is part of the phpBB Forum Software package.
|
|
|
|
#
|
|
|
|
# @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
|
|
# @license GNU General Public License, version 2 (GPL-2.0)
|
|
|
|
#
|
|
|
|
# For full copyright and license information, please see
|
|
|
|
# the docs/CREDITS.txt file.
|
2014-05-03 11:26:59 +02:00
|
|
|
#
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
EXTNAME=$1
|
|
|
|
BRANCH=$2
|
|
|
|
|
|
|
|
# Move the extension in place
|
|
|
|
mkdir --parents phpBB/ext/$EXTNAME
|
|
|
|
cp -R ../tmp/* phpBB/ext/$EXTNAME
|
|
|
|
|
|
|
|
# Move the extensions travis/phpunit-*-travis.xml files in place
|
|
|
|
cp -R travis/* phpBB/ext/$EXTNAME/travis
|