Skip to content
Snippets Groups Projects
Commit 1f331db4 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

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

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3388 44740490-163a-0410-bde0-09ae8108e29a
parent ee5b2caf
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,7 @@ svn export "$REPOPATH" ...@@ -29,8 +29,7 @@ svn export "$REPOPATH"
# Use composer only on newer versions that have a composer.json # Use composer only on newer versions that have a composer.json
if [ -f "$TAG/composer.json" ]; then if [ -f "$TAG/composer.json" ]; then
if [ ! -x composer.phar ]; then if [ ! -x composer.phar ]; then
echo "$0: Composerfile detected, but Composer not installed?" >&2 curl -sS https://getcomposer.org/installer | php
exit 1
fi fi
# Install dependencies (without vcs history or dev tools) # Install dependencies (without vcs history or dev tools)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment