From a7f561bb6423ed08ccdf6eb11ae800f2d3414d1e Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Wed, 3 Dec 2014 17:15:50 -0800 Subject: [PATCH] Switch to Box 2.5.0, which fixes shebang issue --- box.json | 2 +- dev-bin/release.sh | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/box.json b/box.json index a11f769..7bf2c95 100644 --- a/box.json +++ b/box.json @@ -31,6 +31,6 @@ ], "directories": ["compat", "src/"], "git-version": "git-version", - "shebang": "", + "shebang": false, "stub": true } diff --git a/dev-bin/release.sh b/dev-bin/release.sh index dda6b3a..1e6319d 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -25,15 +25,11 @@ fi php composer.phar self-update php composer.phar update --no-dev -# We currently use a custom version of Box due to -# https://github.com/box-project/box2/issues/88. There are PRs from Greg with -# the fixes. -# -# if [ ! -f box.phar ]; then -# wget -O box.phar "https://github.com/kherge-archive/Box/releases/download/2.4.4/box-2.4.4.phar" -# fi +if [ ! -f box.phar ]; then + wget -O box.phar "https://github.com/box-project/box2/releases/download/2.5.0/box-2.5.0.phar" +fi -../box2/bin/box build +php box.phar build PHAR_TEST=$(./dev-bin/phar-test.php) if [[ -n $PHAR_TEST ]]; then