Changeset 1263 in MondoRescue for branches/stable/tools/build2pkg


Ignore:
Timestamp:
Mar 24, 2007, 1:36:05 AM (13 years ago)
Author:
Bruno Cornec
Message:

Small improvements for build tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2pkg

    r1121 r1263  
    5454    # s= stable; t = trunk; 1-9 = official version
    5555    src=${TOPDIR}/${VER}-$TAG/$p-[1-9st]*.tar.gz
     56    echo "Source file: $src"
    5657    pv=`basename $src .tar.gz`
    5758    PVER=`echo $pv | sed "s|^$p-||" | cut -d- -f1`
     
    192193    if [  _"$dtype" = _"rpm" ]; then
    193194        echo "Installing RPMS as root"
    194         su - -c "$opt rpm -Uvh --force $pkg"
     195        sudo $opt rpm -Uvh --force $pkg
    195196    fi
    196197fi
Note: See TracChangeset for help on using the changeset viewer.