.hgignore
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jul 29 13:04:49 2011 +0200 (2011-07-29)
changeset 2574 6e1412ba8da9
parent 2468 90595d1c1017
child 2621 00853d565edf
permissions -rw-r--r--
scripts/functions: force extract folder to archive basename

Some archives like those of the 2011.07 revisions of Linaro GCC contain a folder
name different from the archive basename, which leads to errors afterwards, e.g.
when patching. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 extracts to gcc-linaro-4.5-2011.07-0/

This patch changes CT_Extract() to force the extraction of all archives to a
folder named like the archive basename. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 now extracts to gcc-linaro-4.5-2011.07/

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     1 syntax: glob
     2 
     3 # Generated files
     4 Makefile
     5 ct-ng
     6 docs/ct-ng.1
     7 docs/ct-ng.1.gz
     8 paths.mk
     9 scripts/crosstool-NG.sh
    10 scripts/saveSample.sh
    11 scripts/showTuple.sh
    12 kconfig/conf
    13 kconfig/?conf
    14 kconfig/**.o
    15 kconfig/**.dep
    16 config/configure.in
    17 config.gen/
    18 .config
    19 .config.2
    20 
    21 # Temporaries
    22 .*.swp
    23 build.log
    24 .config.old
    25 
    26 # This is the place where toolchains are built
    27 .build/
    28 # .. and the legacy location
    29 targets/