pkgmeek: improved the parallelism between code and comment

This commit is contained in:
John McQuah 2022-06-15 17:42:11 -04:00
parent 59ebcc963c
commit 9c6054baf5

View File

@ -76,8 +76,8 @@ done ; }
[ $errDL = 0 ] && { [ "$PKGMK_MTIME_ONLY" = "yes" ] || \
info "Successfully obtained all needed source files."; } || exit $E_DOWNLOAD
# Can stop here if the user asked for '-do', but honor any requests for '-um', '-us',
# '-eo', '-uf', or '-utd' by proceeding to those steps
# Can stop here if the user asked for '-do', but honor any requests for '-um', '-uf',
# '-us', '-eo', or '-utd' by proceeding to those steps
[ "$PKGMK_DOWNLOAD_ONLY" = "no" ] || [ "$PKGMK_UPDATE_MD5" = "yes" ] || \
[ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ] || [ "$PKGMK_UPDATE_SIG" = "yes" ] || \
[ "$PKGMK_EXTRACT_ONLY" = "yes" ] || [ "$PKGMK_MTIME_ONLY" = "yes" ] || exit 0
@ -180,8 +180,8 @@ if [ "$pkg_utd" = 0 ] || [ "$PKGMK_FORCE" = "yes" ]; then
if (cd pkg; bsdtar --format=gnutar $fake_uid -cf "$pkg_dir$package" *); then
info "Package creation successful."
else
{ error "Unable to create the compressed package $package."; cleanup_work;
exit "$E_BUILD"; }
error "Unable to create the compressed package $package."
cleanup_work; exit "$E_BUILD"
fi
# Ensure that $work/ contains the package or a symlink to it, then check the footprint