pkgmeek: improved the parallelism between code and comment
This commit is contained in:
parent
59ebcc963c
commit
9c6054baf5
@ -76,8 +76,8 @@ done ; }
|
|||||||
[ $errDL = 0 ] && { [ "$PKGMK_MTIME_ONLY" = "yes" ] || \
|
[ $errDL = 0 ] && { [ "$PKGMK_MTIME_ONLY" = "yes" ] || \
|
||||||
info "Successfully obtained all needed source files."; } || exit $E_DOWNLOAD
|
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',
|
# Can stop here if the user asked for '-do', but honor any requests for '-um', '-uf',
|
||||||
# '-eo', '-uf', or '-utd' by proceeding to those steps
|
# '-us', '-eo', or '-utd' by proceeding to those steps
|
||||||
[ "$PKGMK_DOWNLOAD_ONLY" = "no" ] || [ "$PKGMK_UPDATE_MD5" = "yes" ] || \
|
[ "$PKGMK_DOWNLOAD_ONLY" = "no" ] || [ "$PKGMK_UPDATE_MD5" = "yes" ] || \
|
||||||
[ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ] || [ "$PKGMK_UPDATE_SIG" = "yes" ] || \
|
[ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ] || [ "$PKGMK_UPDATE_SIG" = "yes" ] || \
|
||||||
[ "$PKGMK_EXTRACT_ONLY" = "yes" ] || [ "$PKGMK_MTIME_ONLY" = "yes" ] || exit 0
|
[ "$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
|
if (cd pkg; bsdtar --format=gnutar $fake_uid -cf "$pkg_dir$package" *); then
|
||||||
info "Package creation successful."
|
info "Package creation successful."
|
||||||
else
|
else
|
||||||
{ error "Unable to create the compressed package $package."; cleanup_work;
|
error "Unable to create the compressed package $package."
|
||||||
exit "$E_BUILD"; }
|
cleanup_work; exit "$E_BUILD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that $work/ contains the package or a symlink to it, then check the footprint
|
# Ensure that $work/ contains the package or a symlink to it, then check the footprint
|
||||||
|
Loading…
Reference in New Issue
Block a user