Created
July 26, 2011 16:06
-
-
Save eiro/1107121 to your computer and use it in GitHub Desktop.
cpan install dans une branche
This file contains 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
set -e | |
cd /rtgi/modules/Local-Lib | |
export PERL_MB_OPT="--install_base $PWD" | |
export PERL_MM_OPT="INSTALL_BASE=$PWD" | |
git checkout perl-5.12.3-devel | |
git pull | |
candidate="$1" | |
branch="`echo $candidate | sed s/::/-/g`" | |
git checkout -b $branch | |
cpan $candidate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
à ceci près que je remplacerais pour lever toute ambiguité :
git pull
par
git pull
git remote
perl-5.12.3-devel