[Bug 250723] Add `set pipefail` to most framework scripts to ensure early failures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 11 13:30:42 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250723

--- Comment #12 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: mat
Date: Wed Nov 11 13:29:57 UTC 2020
New revision: 554893
URL: https://svnweb.freebsd.org/changeset/ports/554893

Log:
  Add set pipefail in most framework scripts.

  set pipefail changes the pipeline return status from being the return
  status of the last command to the last non 0 exit status of any command
  in the pipeline.  This is needed to make sure all the commands in a
  pipeline did actually return a non 0 status and not only the last one.

  PR:           250723
  Exp-run by:   antoine
  Reviewed by:  bapt
  Approved by:  bapt
  Differential Revision:        https://reviews.freebsd.org/D27007

Changes:
  head/Mk/Scripts/check-desktop-entries.sh
  head/Mk/Scripts/check-stagedir.sh
  head/Mk/Scripts/check-vulnerable.sh
  head/Mk/Scripts/check_leftovers.sh
  head/Mk/Scripts/checksum.sh
  head/Mk/Scripts/create-manifest.sh
  head/Mk/Scripts/depends-list.sh
  head/Mk/Scripts/desktop-categories.sh
  head/Mk/Scripts/dialog4ports.sh
  head/Mk/Scripts/do-depends.sh
  head/Mk/Scripts/do-fetch.sh
  head/Mk/Scripts/do-patch.sh
  head/Mk/Scripts/do-users-groups.sh
  head/Mk/Scripts/find-lib.sh
  head/Mk/Scripts/generate-symbols.sh
  head/Mk/Scripts/install-desktop-entries.sh
  head/Mk/Scripts/makesum.sh
  head/Mk/Scripts/plist_sub_sed_sort.sh
  head/Mk/Scripts/ports_env.sh
  head/Mk/Scripts/qa.sh
  head/Mk/Scripts/rust-compat11-canary.sh
  head/Mk/Scripts/smart_makepatch.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list