summaryrefslogtreecommitdiff
path: root/scripts/build/libc/eglibc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-12 18:24:03 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-12 18:24:03 (GMT)
commite3a4063ac61b336d96e4c43589e43ab42f9991b6 (patch)
tree5693326f9d6e08b7f025fac7a748fc0f738e0be0 /scripts/build/libc/eglibc.sh
parent5280cd71beeedfff4d980487e91455405de4e1d2 (diff)
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.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index bea789f..b36201c 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