-
-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
Milestone
Description
wget http://www.lueck.tv/phar-composer/phar-composer.phar
php phar-composer.phar install clue/phar-composer
gets into
- Installing symfony/process (v2.4.1)
Loading from cache
Generating autoload files
OK - Downloading package completed (after 2.4s)
[2/2] Creating phar phar-composer.phar
- Remove existing file phar-composer.phar (1892.8 KiB)
PHP Warning: include(phar:///home/sheershoff/phar-composer.phar/vendor/herrera-io/box/src/lib/Herrera/Box/Box.php): failed to open stream: phar error: Cannot open phar archive "/home/sheershoff/phar-composer.phar" for reading in phar:///home/sheershoff/phar-composer.phar/vendor/composer/ClassLoader.php on line 378
obviously, the problem is that the running copy deletes itself.
the work-around is
mkdir tmp && cd tmp && wget http://www.lueck.tv/phar-composer/phar-composer.phar && cd .. && php tmp/phar-composer.phar install clue/phar-composer