Changeset 634 in MondoRescue for branches/2.0.8


Ignore:
Timestamp:
Jun 7, 2006, 3:08:34 PM (18 years ago)
Author:
bcornec
Message:
  • Fix a bug in -I and -E handling !!
  • mknewtag now checks that Changelog are up to date
Location:
branches/2.0.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/mondo/mondo/mondoarchive/mondo-cli.c

    r604 r634  
    454454            if (q != NULL) {
    455455                *q = '\0';
    456                 p = q+1 ;
    457456                if (stat(p, &buf) != 0) {
    458457                    log_msg(1, "ERROR ! %s doesn't exist", p);
    459458                    fatal_error("ERROR ! You specified a directory to include which doesn't exist");
    460459                }
     460                p = q+1 ;
    461461            } else {
    462462                if (stat(p, &buf) != 0) {
     
    691691            if (q != NULL) {
    692692                *q = '\0';
    693                 p = q+1 ;
    694693                if (stat(p, &buf) != 0) {
    695694                    log_msg(1, "WARNING ! %s doesn't exist", p);
    696695                }
     696                p = q+1 ;
    697697            } else {
    698698                if (stat(p, &buf) != 0) {
  • branches/2.0.8/tools/mknewtag

    r614 r634  
    3535nb=`svn diff $TOOLHOME/.. | wc -l`
    3636if [ $nb -gt 0 ]; then
    37     echo "You'll have to check in order before updating the TAG"
     37    echo "You'll have to check in before updating the TAG"
    3838    echo "$TAG" > $TOOLHOME/TAG
    3939else
     40    for p in mindi mondo; do
     41        grep -q "${VER}-${TAG}" $TOOLHOME/../$p/Changelog
     42        if [ $? -ne 0 ]; then
     43            echo "You'll have to document in ${p}'s Changelog for ${VER}-${TAG} related modifications"
     44            exit -1
     45        fi
     46    done
    4047    echo "$TAG" > $TOOLHOME/TAG
    4148    (cd $TOOLHOME/.. ; svn ci -m "Automatic update of TAG to $TAG" ; svn up)
Note: See TracChangeset for help on using the changeset viewer.