scripts/toolchain-config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Dec 21 20:07:47 2008 +0000 (2008-12-21)
changeset 1104 a781c47bb638
parent 894 c444ce4b51b9
child 1189 5c20d52c8270
permissions -rw-r--r--
Make it clear that, if the second argument of CT_GetFile starts with a dot, it is considered to be the preferred extension.

/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
yann@894
     1
#!/bin/sh
yann@894
     2
yann@894
     3
SKIP_ME="### CT_NG SKIP ME ###"
yann@894
     4
skip_me=$(($(cat "${0}" |grep --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
yann@894
     5
dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat
yann@894
     6
exit 0
yann@894
     7
yann@894
     8
### CT_NG SKIP ME ###