Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2020 13:30:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250723] Add `set pipefail` to most framework scripts to ensure early failures
Message-ID:  <bug-250723-7788-RHbiY3oryA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250723-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250723-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250723

--- Comment #12 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250723-7788-RHbiY3oryA>