summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-26 21:00:30 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-26 21:00:30 (GMT)
commit49e5b08739dd69624e7a5e7173bc32fe3fd8fd91 (patch)
tree6f218e6c533046006f55ab5bd4991bb967819686 /scripts/functions
parente73418236d013152b3891948faa791a45ddc9c20 (diff)
libc/newlib: allow using CVS snapshots
The newlib "team" rolls new releases about once a year (december). This is quite a long time between releases, in case code was fixed. So, allow user to use a CVS snapshot to benefit early from fixes and enhancements to newlib.
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index 730ecf1..b9aa7e7 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -503,8 +503,8 @@ CT_GetCVS() {
if [ -n "${dirname}" ]; then
case "${dirname}" in
*=*)
- CT_DoExecLog DEBUG mv "${dirname%%=*}" "${dirname#*=}"
- CT_DoExecLog ALL tar cjf "${CT_TARBALLS_DIR}/${basename}.tar.bz2" "${dirname#*=}"
+ CT_DoExecLog DEBUG mv "${dirname#*=}" "${dirname%%=*}"
+ CT_DoExecLog ALL tar cjf "${CT_TARBALLS_DIR}/${basename}.tar.bz2" "${dirname%%=*}"
;;
*)
CT_DoExecLog ALL mv "${module}" "${dirname}"