This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/1] populate: fix empty files.list


The output format of the file(1) command have changed since (at least)
the version 5.14. We need to to take care of an extra space.

Signed-off-by: Jean-Marie Lemetayer <jeanmarie.lemetayer@gmail.com>
---
 scripts/populate.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/populate.in b/scripts/populate.in
index 28a9740..c29be1c 100644
--- a/scripts/populate.in
+++ b/scripts/populate.in
@@ -280,9 +280,9 @@ CT_TMP_DIR="${TMPDIR:-/tmp}/populate-${rand}-${$}"
 trap "rm -rf ${CT_TMP_DIR}" EXIT
 
 # List all ELF (executables|shared objects)...
-find . -type f -exec file {} \;                                             \
-|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB (executable|shared object),'  \
-|cut -d ":" -f 1                                                            \
+find . -type f -exec file {} \;                                              \
+|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),'  \
+|cut -d ":" -f 1                                                             \
 >"${CT_TMP_DIR}/files.list"
 
 # ... and use that list to find missing dependencies
-- 
1.9.1


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]