Skip to content

Instantly share code, notes, and snippets.

@Tyrael
Created August 7, 2011 13:58
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Tyrael/1130397 to your computer and use it in GitHub Desktop.
reproduce pyrus make
#!/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/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment