git: 0068c706f8ce - main - make-pkg-package: Add set -e; abort if a cmd fails
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Apr 2026 21:16:37 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=0068c706f8ce872c735ddcc383c5cd5ab85acc88
commit 0068c706f8ce872c735ddcc383c5cd5ab85acc88
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-04 20:14:43 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-27 21:16:18 +0000
make-pkg-package: Add set -e; abort if a cmd fails
This makes it less likely we will silently generate broken artifacts.
Reviewed by: ivy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56671
---
release/scripts/make-pkg-package.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/release/scripts/make-pkg-package.sh b/release/scripts/make-pkg-package.sh
index 3a1b163bd591..97ff5da93aac 100755
--- a/release/scripts/make-pkg-package.sh
+++ b/release/scripts/make-pkg-package.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
# Simulate the build environment. Note that we need to unset some variables
# which are set in the src tree since they have different (unwanted) effects
# in the ports tree.