# HG changeset patch # User "Yann E. MORIN" # Date 1300567406 -3600 # Node ID ade5d48d98f27ba75e28c2f559f1eec9e76e9c59 # Parent 805e9f2a06fafd071f261cb4a70aecb8fb90aa65 scripts: fix stripping in finalisation step The heuristic to find shell script is deficient. Fix it. Reported-by: Kyle Grieb Signed-off-by: "Yann E. MORIN" diff -r 805e9f2a06fa -r ade5d48d98f2 scripts/build/internals.sh --- a/scripts/build/internals.sh Mon Mar 14 22:16:01 2011 +0100 +++ b/scripts/build/internals.sh Sat Mar 19 21:43:26 2011 +0100 @@ -30,7 +30,7 @@ ; 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}"