Dockerfile: fix whitespace inconsistencies
[gnu-stow.git] / docker / bootstrap-perls.sh
blob2efdd5e692e49ef2f3b79bad00d90eb223994635
1 #!/bin/bash
3 # This file is part of GNU Stow.
5 # GNU Stow is free software: you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # GNU Stow is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see https://www.gnu.org/licenses/.
18 # Load perlbrew environment
19 . /usr/local/perlbrew/etc/bashrc
21 # For each perl version installed.
22 for p_version in $(perlbrew list | sed 's/ //g'); do
23 # Switch to it.
24 perlbrew use $p_version
25 # and install the needed modules.
26 /usr/local/perlbrew/bin/cpanm -n Devel::Cover::Report::Coveralls Test::More Test::Output
27 done
29 # Cleanup to remove any temp files.
30 perlbrew clean