summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-12-12 19:47:40 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-12-12 19:47:40 (GMT)
commita9966d1e1cd95baa4c0400c6248f2fab14e2ba48 (patch)
treefbd262894dfacffad930820991f148aedb34b34b /scripts
parent2bf2991ebd96a69c3ca413a330e34696eeb286a7 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/internals.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index 4dafafb..882412f 100644
--- a/scripts/build/internals.sh
+++ b/scripts/build/internals.sh
@@ -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}"