Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148047603
D31211.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
658 B
Referenced Files
None
Subscribers
None
D31211.diff
View Options
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -663,9 +663,13 @@
# Check that the .so we need has a SONAME
if [ "${dep_file_pkg}" != "${PKGORIGIN}" ]; then
+ # When grep -q finds a match it will close the pipe immediately.
+ # This may cause the test to fail when pipefail is turned on.
+ set +o pipefail
if ! readelf -d "${dep_file}" | grep -q SONAME; then
err "${file} is linked to ${dep_file} which does not have a SONAME. ${dep_file_pkg} needs to be fixed."
fi
+ set -o pipefail
fi
# If we don't already depend on it, and we don't provide it
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 10:02 AM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29741051
Default Alt Text
D31211.diff (658 B)
Attached To
Mode
D31211: Mk/Scripts/qa.sh: Turn off pipefail when piping to grep -q
Attached
Detach File
Event Timeline
Log In to Comment