scripts/functions
changeset 1593 66b2463743af
parent 1592 c08132a93049
child 1630 1409ba438ea1
     1.1 --- a/scripts/functions	Mon Oct 26 19:49:50 2009 +0100
     1.2 +++ b/scripts/functions	Mon Oct 26 22:00:30 2009 +0100
     1.3 @@ -503,8 +503,8 @@
     1.4      if [ -n "${dirname}" ]; then
     1.5          case "${dirname}" in
     1.6              *=*)
     1.7 -                CT_DoExecLog DEBUG mv "${dirname%%=*}" "${dirname#*=}"
     1.8 -                CT_DoExecLog ALL tar cjf "${CT_TARBALLS_DIR}/${basename}.tar.bz2" "${dirname#*=}"
     1.9 +                CT_DoExecLog DEBUG mv "${dirname#*=}" "${dirname%%=*}"
    1.10 +                CT_DoExecLog ALL tar cjf "${CT_TARBALLS_DIR}/${basename}.tar.bz2" "${dirname%%=*}"
    1.11                  ;;
    1.12              *)
    1.13                  CT_DoExecLog ALL mv "${module}" "${dirname}"