Created
August 7, 2011 13:58
-
-
Save Tyrael/1130397 to your computer and use it in GitHub Desktop.
reproduce pyrus make
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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