mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
scripts: fix stripping in finalisation step
The heuristic to find shell script is deficient. Fix it. Reported-by: Kyle Grieb <grieb.kyle@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> (transplanted from ade5d48d98f27ba75e28c2f559f1eec9e76e9c59)
This commit is contained in:
parent
0eacc3b10a
commit
db6382192f
@ -30,7 +30,7 @@ do_finish() {
|
||||
; do
|
||||
_type="$( file "${_t}" |cut -d ' ' -f 2- )"
|
||||
case "${_type}" in
|
||||
*"script text executable")
|
||||
*script*executable)
|
||||
;;
|
||||
*executable*)
|
||||
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
||||
|
Loading…
Reference in New Issue
Block a user