mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-23 02:13:38 +00:00
scripts/internals: fix stripping once more
Some scripts have 'very long lines', so the output of 'file' will have that mentioned, such as: POSIX shell script, ASCII text executable, with very long lines Reported-by: Kyle Grieb <grieb.kyle@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
25952a4cac
commit
1432e05c3b
@ -30,7 +30,7 @@ do_finish() {
|
||||
; do
|
||||
_type="$( file "${_t}" |cut -d ' ' -f 2- )"
|
||||
case "${_type}" in
|
||||
*script*executable)
|
||||
*script*executable*)
|
||||
;;
|
||||
*executable*)
|
||||
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user