OSDN Git Service

make local-build embedable into .bashrc again
authorscribu <mail@scribu.net>
Sun, 3 Mar 2013 21:44:16 +0000 (23:44 +0200)
committerscribu <mail@scribu.net>
Sun, 3 Mar 2013 21:48:29 +0000 (23:48 +0200)
see #342

utils/local-build

index 4fd798d..9d92ea8 100755 (executable)
@@ -12,7 +12,7 @@ fi
 
 [ -f composer.phar ] || curl -sS https://getcomposer.org/installer | php
 
-php composer.phar install
+[ -d vendor/ ] || php composer.phar install
 
 DIR=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)