public
Created

reproduce pyrus make

  • Download Gist
reproduce_pyrus_make.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash
DIR=`pwd`'/reproduce_pyrus_make'
mkdir $DIR;
cd $DIR;
git clone 'git://github.com/pyrus/Pyrus.git';
git clone 'git://github.com/pyrus/Pyrus_Developer.git';
git clone 'git://github.com/pear2/PEAR2_Autoload.git';
git clone 'git://github.com/Tyrael/suhosin.git';
ln -s "$DIR/Pyrus_Developer/customcommand/commands.xml" "$DIR/Pyrus/data/local-developer-commands.xml"
cd 'Pyrus';
php -r 'file_put_contents("autoload.php", file_get_contents("https://raw.github.com/gist/1130402/00fb984b7908951fd9cd3964e0f1ee5912448fc6/autoload.php"));'
php scripts/pyrus channel-discover Tyrael.github.com/pear
php scripts/pyrus make Suhosin Tyrael.github.com/pear "$DIR/suhosin/"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.