svn commit: r506358 - head/Mk/Scripts

Bryan Drewery bdrewery at FreeBSD.org
Wed Jul 10 16:18:33 UTC 2019


Author: bdrewery
Date: Wed Jul 10 16:18:32 2019
New Revision: 506358
URL: https://svnweb.freebsd.org/changeset/ports/506358

Log:
  Fix handling of ports with *1* file.
  
  Reported by:	glebius
  Sponsored by:	DellEMC

Modified:
  head/Mk/Scripts/generate-symbols.sh

Modified: head/Mk/Scripts/generate-symbols.sh
==============================================================================
--- head/Mk/Scripts/generate-symbols.sh	Wed Jul 10 15:46:14 2019	(r506357)
+++ head/Mk/Scripts/generate-symbols.sh	Wed Jul 10 16:18:32 2019	(r506358)
@@ -18,7 +18,7 @@ msg "Finding symbols"
 # Find all ELF files
 ELF_FILES=$(mktemp -t elf_files)
 find ${STAGEDIR} -type f \
-    -exec /usr/bin/readelf -S {} + 2>/dev/null | awk ' \
+    -exec /usr/bin/readelf -S /dev/null {} + 2>/dev/null | awk ' \
     /File:/ {sub(/File: /, "", $0); file=$0}
     /[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' \
     > ${ELF_FILES}


More information about the svn-ports-head mailing list