Skip to content

Commit 98d6352

Browse files
committed
Shell script fixes
1 parent 7bafc7b commit 98d6352

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ branches:
4646
- /^\d+(\.\d+)?\.x$/
4747

4848
install:
49-
- travis/prepare-phpbb.sh $EXTNAME $PHPBB_BRANCH
49+
- travis/prepare-phpbb.sh $PHPBB_BRANCH
5050
- cd ../../phpBB3
5151
- travis/prepare-extension.sh $EXTNAME $PHPBB_BRANCH
5252
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION $NOTESTS

travis/prepare-epv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -x
1414
EPV=$1
1515
NOTESTS=$2
1616

17-
if [ "$EPV" == "1" -a "$NOTESTS" == "1" ]
17+
if [ "$EPV" == "1" ] && [ "$NOTESTS" == "1" ]
1818
then
1919
cd phpBB
2020
composer remove sami/sami --update-with-dependencies --dev --no-interaction

travis/prepare-phpbb.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@
1111
set -e
1212
set -x
1313

14-
EXTNAME=$1
15-
BRANCH=$2
16-
EXTPATH_TEMP=$3
14+
BRANCH=$1
1715

1816
# Copy extension to a temp folder
1917
mkdir ../../tmp
2018
cp -R . ../../tmp
2119
cd ../../
2220

2321
# Clone phpBB
24-
git clone --depth=1 "git://github.com/phpbb/phpbb.git" "phpBB3" --branch=$BRANCH
22+
git clone --depth=1 "git://github.com/phpbb/phpbb.git" "phpBB3" --branch="$BRANCH"

0 commit comments

Comments
 (0)