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:
parent
c07c2e6919
commit
6b34fec9ee
|
@ -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)
|
||||
|
|
Reference in New Issue