Fix build-release.sh script to automatically get composer if not present.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3388 44740490-163a-0410-bde0-09ae8108e29a
This commit is contained in:
jaimepc@gmail.com 2014-02-24 20:10:12 +00:00
parent c07c2e6919
commit 6b34fec9ee
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@ svn export "$REPOPATH"
# Use composer only on newer versions that have a composer.json
if [ -f "$TAG/composer.json" ]; then
if [ ! -x composer.phar ]; then
echo "$0: Composerfile detected, but Composer not installed?" >&2
exit 1
curl -sS https://getcomposer.org/installer | php
fi
# Install dependencies (without vcs history or dev tools)