tools/toolchain-config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Dec 01 18:01:11 2008 +0000 (2008-12-01)
changeset 1088 3c7c98b6cda9
permissions -rw-r--r--
Ignore more in kconfig/:
- on Cygwin, the executables are appended .exe, thus ignore mconf.exe and conf.exe
     1 #!/bin/sh
     2 
     3 SKIP_ME="### CT_NG SKIP ME ###"
     4 skip_me=$(($(cat "${0}" |grep --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
     5 dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat
     6 exit 0
     7 
     8 ### CT_NG SKIP ME ###