config/config.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jul 29 13:04:49 2011 +0200 (2011-07-29)
changeset 2574 6e1412ba8da9
parent 2447 bb73e7632b54
child 2650 4d299836e994
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>
yann@2447
     1
mainmenu "The crosstool-NG configuration menu"
yann@2481
     2
source "config/configure.in"
yann@1870
     3
source "config/backend.in"
yann@1870
     4
source "config/global.in"
yann@1870
     5
source "config/target.in"
yann@1870
     6
source "config/toolchain.in"
yann@1870
     7
source "config/kernel.in"
yann@1870
     8
source "config/binutils.in"
yann@1870
     9
source "config/cc.in"
yann@1870
    10
source "config/libc.in"
yann@1870
    11
source "config/debug.in"
yann@1870
    12
source "config/companion_libs.in"
yann@1870
    13
source "config/companion_tools.in"
mgl@1965
    14
source "config/test_suite.in"