Changeset 994


Ignore:
Timestamp:
Dec 2, 2006, 1:16:05 AM (12 years ago)
Author:
bruno
Message:

tag computation finally correct for pkg2ftp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/pkg2ftp

    r993 r994  
    5252    src=${TOPDIR}/${VER}-$TAG/$p-[1-9st]*.tar.gz
    5353    pv=`basename $src .tar.gz`
    54     tag=`echo $pv | sed "s/$p-\([0-9st]*.*\)/\2/"`
     54    tar -x -C $MONDOTMP -f $src $pv/TAG
     55    tag=`cat $MONDOTMP/$pv/TAG`
    5556    if [  _"$dtype" = _"rpm" ]; then
    5657        if [ _"$p" = _"mondo-doc" ]; then
     
    7071done
    7172
     73rm -rf $MONDOTMP
    7274echo "Packages delivery to ${ACCOUNT}:${DSTDIR}/${ddir}/${dver}"
    7375ssh ${ACCOUNT} "mkdir -p ${DSTDIR}/${ddir}/${dver} ; cd ${DSTDIR}/${ddir}/${dver} ; rm -f ${pkg} ${spkg}"
Note: See TracChangeset for help on using the changeset viewer.