Skip to content

Instantly share code, notes, and snippets.

@saltybeagle
Forked from Tyrael/reproduce_pyrus_make.sh
Created August 7, 2011 15:01
Show Gist options
  • Save saltybeagle/1130442 to your computer and use it in GitHub Desktop.
Save saltybeagle/1130442 to your computer and use it in GitHub Desktop.
reproduce pyrus make
#!/bin/bash
mkdir 'reproduce_pyrus_make';
cd 'reproduce_pyrus_make';
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';
cd 'Pyrus';
cd 'data';
ln -s ../../Pyrus_Developer/customcommand/commands.xml local-developer-commands.xml
cd ..
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 `pwd`/../suhosin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment