Skip to content

Commit

Permalink
Check for vendor differently for "installs as a dependency" case
Browse files Browse the repository at this point in the history
  • Loading branch information
simensen committed Jan 22, 2012
1 parent d771498 commit 8d0c2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/composer
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php

if ((!@include __DIR__.'/../vendor/.composer/autoload.php') and (!@include 'vendor/.composer/autoload.php')) {
if ((!@include __DIR__.'/../../../.composer/autoload.php') and (!@include __DIR__.'/../vendor/.composer/autoload.php')) {
die('You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
Expand Down

0 comments on commit 8d0c2e0

Please sign in to comment.