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:
Yann E. MORIN" 2010-12-12 20:47:40 +01:00
parent 2bf2991ebd
commit a9966d1e1c

View File

@ -28,7 +28,7 @@ do_finish() {
; do
_type="$( file "${_t}" |cut -d ' ' -f 2- )"
case "${_type}" in
*"shell script text executable")
*"script text executable")
;;
*executable*)
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"