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/eglibc.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/eglibc.sh')
-rw-r--r-- | scripts/build/libc/eglibc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index bea789f6..b36201c8 100644 --- a/scripts/build/libc/eglibc.sh +++ b/scripts/build/libc/eglibc.sh @@ -101,7 +101,7 @@ do_libc_extract() { # NPTL addon is not to be extracted, in any case [ "${addon}" = "nptl" ] && continue || true CT_Pushd "${CT_SRC_DIR}/eglibc-${CT_LIBC_VERSION}" - CT_Extract "eglibc-${addon}-${CT_LIBC_VERSION}" nochdir + CT_Extract nochdir "eglibc-${addon}-${CT_LIBC_VERSION}" # Some addons have the 'long' name, while others have the # 'short' name, but patches are non-uniformly built with # either the 'long' or 'short' name, whatever the addons name @@ -110,7 +110,7 @@ do_libc_extract() { # directory, returns true! [ -d "${addon}" ] || ln -s "eglibc-${addon}-${CT_LIBC_VERSION}" "${addon}" [ -d "eglibc-${addon}-${CT_LIBC_VERSION}" ] || ln -s "${addon}" "eglibc-${addon}-${CT_LIBC_VERSION}" - CT_Patch "eglibc-${addon}-${CT_LIBC_VERSION}" nochdir + CT_Patch nochdir "eglibc-${addon}-${CT_LIBC_VERSION}" CT_Popd done |