-
-
Save knutov/0e89522a753636a4af29c79581a04e47 to your computer and use it in GitHub Desktop.
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/sh | |
| _THREADS=$1 | |
| shift | |
| _CPANM_OPTS="--notest --mirror http://ftp.cpan.org/pub/CPAN/ --mirror ${CPAN_MIRROR}" | |
| cpanm --quiet --showdeps $* \ | |
| | xargs -n 1 -P $_THREADS cpanm ${_CPANM_OPTS} \ | |
| && cpanm ${_CPANM_OPTS} $* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment