diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-12 19:24:03 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-12 19:24:03 +0100 |
commit | e3a4063ac61b336d96e4c43589e43ab42f9991b6 (patch) | |
tree | 5693326f9d6e08b7f025fac7a748fc0f738e0be0 /scripts/build/libc/glibc.sh | |
parent | 5280cd71beeedfff4d980487e91455405de4e1d2 (diff) | |
download | crosstool-ng-e3a4063ac61b336d96e4c43589e43ab42f9991b6.tar.gz crosstool-ng-e3a4063ac61b336d96e4c43589e43ab42f9991b6.tar.bz2 crosstool-ng-e3a4063ac61b336d96e4c43589e43ab42f9991b6.zip |
scripts/functions: change handling of nochdir
- 'nochdir' must be the first option
- have systematic pushd/popd, even if nochdir
Diffstat (limited to 'scripts/build/libc/glibc.sh')
-rw-r--r-- | scripts/build/libc/glibc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index c77cfee5..c6a5dc12 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -38,13 +38,13 @@ do_libc_extract() { CT_Extract "glibc-${CT_LIBC_VERSION}" CT_Pushd "${CT_SRC_DIR}/glibc-${CT_LIBC_VERSION}" - CT_Patch "glibc-${CT_LIBC_VERSION}" nochdir + CT_Patch nochdir "glibc-${CT_LIBC_VERSION}" # C library addons for addon in "${addons_list[@]}"; do # NPTL addon is not to be extracted, in any case [ "${addon}" = "nptl" ] && continue || true - CT_Extract "glibc-${addon}-${CT_LIBC_VERSION}" nochdir + CT_Extract nochdir "glibc-${addon}-${CT_LIBC_VERSION}" # Some addons have the 'long' name, while others have the # 'short' name, but patches are non-uniformly built with @@ -54,7 +54,7 @@ do_libc_extract() { # directory, returns true! [ -d "${addon}" ] || CT_DoExecLog ALL ln -s "glibc-${addon}-${CT_LIBC_VERSION}" "${addon}" [ -d "glibc-${addon}-${CT_LIBC_VERSION}" ] || CT_DoExecLog ALL ln -s "${addon}" "glibc-${addon}-${CT_LIBC_VERSION}" - CT_Patch "glibc-${addon}-${CT_LIBC_VERSION}" nochdir + CT_Patch nochdir "glibc-${addon}-${CT_LIBC_VERSION}" done # The configure files may be older than the configure.in files |