Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Add pp error check
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Nov 13, 2020
1 parent 49900c9 commit 1e42ebd
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,13 @@ while (( ${iter} < ${#archs[@]} )); do
"${tmpdir}/${strawberry_pepfia_par_template_file}" > ../../pp-${arch_label}s.log 2>&1
)

# Check whether there is an error
if (( $? != 0 )); then
echo
echo "There has been an error while building the Perl ARchive (PAR) package for Strawberry Perl ${strawberry_release} (${strawberry_version}-${arch_label}s)."
exit 5
fi

# Partial clean
# It seems "${tmpdir}/inc" is created when pp takes into account
# the Perl module inc::Module::Install
Expand Down

0 comments on commit 1e42ebd

Please sign in to comment.