Changeset 96341 in spip-zone


Ignore:
Timestamp:
Mar 31, 2016, 9:32:44 AM (3 years ago)
Author:
marcimat@…
Message:

La variable home doit aussi être déclarée lors du téléchargement de composer.

Location:
_plugins_/composer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/composer/trunk/formulaires/jouer_composer.php

    r93345 r96341  
    6161        $root = realpath(_DIR_COMPOSER);
    6262        chdir($root);
    63         $cmd = "curl -sS https://getcomposer.org/installer | php 2>&1";
     63        $home = "export COMPOSER_HOME=" . _ROOT_RACINE . "tmp";
     64        $cmd = "$home && curl -sS https://getcomposer.org/installer | php 2>&1";
    6465        exec($cmd, $output, $err);
    6566        if (!$err) {
  • _plugins_/composer/trunk/paquet.xml

    r93350 r96341  
    22        prefix="composer"
    33        categorie="outil"
    4         version="1.0.2"
     4        version="1.0.3"
    55        etat="experimental"
    66        compatibilite="[3.1.0-rc;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.