diff options
author | Jean-Marie Lemetayer <jeanmarie.lemetayer@gmail.com> | 2014-09-08 18:53:18 +0200 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-09-11 23:34:59 +0200 |
commit | 991ec3ac85343caaa63fb8bc5ef81212e7a255d7 (patch) | |
tree | dd6dfb0e47e7c891d457b5de058137f74e80bb08 /scripts/populate.in | |
parent | e5d2c356cc3c5c4daa22257b8edc070c28821aac (diff) | |
download | crosstool-ng-991ec3ac85343caaa63fb8bc5ef81212e7a255d7.tar.gz crosstool-ng-991ec3ac85343caaa63fb8bc5ef81212e7a255d7.tar.bz2 crosstool-ng-991ec3ac85343caaa63fb8bc5ef81212e7a255d7.zip |
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>
[yann.morin.1998@free.fr: do not right-shift trailing back-slashes]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/populate.in')
-rw-r--r-- | scripts/populate.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/populate.in b/scripts/populate.in index 28a9740e..9aa3ee9f 100644 --- a/scripts/populate.in +++ b/scripts/populate.in @@ -281,7 +281,7 @@ 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),' \ +|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),' \ |cut -d ":" -f 1 \ >"${CT_TMP_DIR}/files.list" |