Skip to content

Commit 172e922

Browse files
committed
implement feedback
1 parent 01559ce commit 172e922

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

bin/compile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,11 @@ set -o xtrace
6060

6161
export PATH="$HOME/.phpenv/bin:$HOME/.php-build/bin:$PATH"
6262

63-
buildDefinition=${VERSION}
6463
if [[ $VERSION == nightly* || $VERSION == master* ]]; then
65-
buildDefinition=8.0snapshot
64+
VERSION=8.0snapshot
6665
fi
6766

68-
php-build -i development "${buildDefinition}" "${INSTALL_DEST}/${VERSION}"
67+
php-build -i development "${VERSION}" "${INSTALL_DEST}/${VERSION}"
6968

7069
pushd "${INSTALL_DEST}/${VERSION}"
7170

@@ -88,7 +87,7 @@ ln -sv ../sbin/php-fpm bin/php-fpm
8887

8988
# composer and phpunit
9089
curl -fsSL -o bin/composer http://getcomposer.org/composer.phar
91-
if [[ $VERSION == nightly* || $VERSION == master* || $VERSION == 7* ]]; then
90+
if [[ $VERSION == nightly* || $VERSION == master* || $VERSION == 7* || $VERSION == 8.0snapshot ]]; then
9291
PHPUNIT_ARCHIVE=phpunit.phar
9392
elif [[ $VERSION == 5.6* ]]; then
9493
PHPUNIT_ARCHIVE=phpunit-5.7.phar

0 commit comments

Comments
 (0)