mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-07 03:19:14 +00:00
internals: fix stripping
Do not try to strip any script. Previously, only shell scripts were ignored, but when the Java frontend is installed, it also installs a Python script. So we have to ignore any "script text executable", and not restrict it to "shell script text executable". Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
2bf2991ebd
commit
a9966d1e1c
@ -28,7 +28,7 @@ do_finish() {
|
|||||||
; do
|
; do
|
||||||
_type="$( file "${_t}" |cut -d ' ' -f 2- )"
|
_type="$( file "${_t}" |cut -d ' ' -f 2- )"
|
||||||
case "${_type}" in
|
case "${_type}" in
|
||||||
*"shell script text executable")
|
*"script text executable")
|
||||||
;;
|
;;
|
||||||
*executable*)
|
*executable*)
|
||||||
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user