updated perl_cpanm_install.sh

pull/16/head
Hari Sekhon 8 months ago
parent 4b4e914b7e
commit 90c437cb73

@ -123,13 +123,15 @@ if [ -n "${NO_FAIL:-}" ]; then
echo "$sudo $envopts $CPANM --notest $opts $cpan_module" echo "$sudo $envopts $CPANM --notest $opts $cpan_module"
# want splitting of opts # want splitting of opts
# shellcheck disable=SC2086 # shellcheck disable=SC2086
$sudo $envopts "$CPANM" --notest $opts "$cpan_module" || : # 'env' prevent a command not found error if sudo isn't used from the space OPENSSL_INCLUDE="$brew_prefix/opt/openssl/include" prefix
env $sudo $envopts "$CPANM" --notest $opts "$cpan_module" || :
done done
else else
echo "$sudo $envopts $CPANM --notest $opts $cpan_modules" echo "$sudo $envopts $CPANM --notest $opts $cpan_modules"
# want splitting of opts and modules # want splitting of opts and modules
# shellcheck disable=SC2086 # shellcheck disable=SC2086
if ! $sudo $envopts "$CPANM" --notest $opts $cpan_modules; then # 'env' prevent a command not found error if sudo isn't used from the space OPENSSL_INCLUDE="$brew_prefix/opt/openssl/include" prefix
if ! env $sudo $envopts "$CPANM" --notest $opts $cpan_modules; then
echo echo
echo "reading latest cpanm build.log for details:" echo "reading latest cpanm build.log for details:"
echo echo

Loading…
Cancel
Save