Changeset 672 for trunk/tools/build2pkg


Ignore:
Timestamp:
Jun 12, 2006, 9:55:14 AM (14 years ago)
Author:
bcornec
Message:

merge -r651:671 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/build2pkg

    r600 r672  
    6767        pkg="$pkg $pkg1"
    6868
    69         log=/tmp/$p-rpm.log
     69        log=$TMP/$p-rpm.log
    7070
    7171        if [ "$dfam" = "mandriva" ]; then
     
    9090        cd ..
    9191    elif [  _"$dtype" = _"ebuild" ]; then
    92         log=/tmp/$p-gentoo.log
     92        log=$TMP/$p-gentoo.log
    9393        ln -sf $src .
    9494        tar xfz $src $pv/distributions/${ddir}-$dver/$p-${VER}-r$TAG.ebuild
     
    124124        fi
    125125    elif [  _"$dtype" = _"deb" ]; then
    126         log=/tmp/$p-deb.log
     126        log=$TMP/$p-deb.log
    127127        cd $TOPBUILDDIR
    128128        tar xfz $src
    129129        cd ${pv}*
    130         ln -s distributions/debian debian
    131         # update debian/changelog
    132         pkg-buildpackage -us -uc -rfakeroot
     130        # point to the right debian conf
     131        ln -s distributions/${ddir}-$dver debian
     132        dpkg-buildpackage -us -uc -rfakeroot
    133133        # Et voila !
    134134    else
     
    138138echo "Packages handled : $pkg"
    139139
     140rm -rf $TMP
     141
    140142if [ $status = 0 ]; then
    141143    if [  _"$dtype" = _"rpm" ]; then
Note: See TracChangeset for help on using the changeset viewer.