Skip to content

Commit

Permalink
Ensure we have plenv before calling it
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Apr 25, 2024
1 parent 89afa77 commit e644f5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/dc
Expand Up @@ -159,7 +159,9 @@ main() {
install_dzil)
cpanm --notest App::cpm
cpm install --workers="$("$0" nice_cpus)" --global Dist::Zilla
plenv rehash
if command -v plenv >/dev/null 2>&1; then
plenv rehash
fi
dzil authordeps --missing |
xargs cpm install --workers="$("$0" nice_cpus)" --global
dzil listdeps --missing |
Expand Down

0 comments on commit e644f5f

Please sign in to comment.