scripts: fix stripping in finalisation step 1.10
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 19 21:43:26 2011 +0100 (2011-03-19)
branch1.10
changeset 2394966d63f784e3
parent 2393 d59773c3574c
child 2395 70cca141fab9
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)
scripts/build/internals.sh
     1.1 --- a/scripts/build/internals.sh	Mon Feb 21 23:42:20 2011 +0100
     1.2 +++ b/scripts/build/internals.sh	Sat Mar 19 21:43:26 2011 +0100
     1.3 @@ -30,7 +30,7 @@
     1.4          ; do
     1.5              _type="$( file "${_t}" |cut -d ' ' -f 2- )"
     1.6              case "${_type}" in
     1.7 -                *"script text executable")
     1.8 +                *script*executable)
     1.9                      ;;
    1.10                  *executable*)
    1.11                      CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"