Bug 481, really?

So, this may also be out-of-scope, but looking at this section of 
usr/src/tools/scripts/nightly.sh:

 375         if [[ -n "$closed_top" ]]; then
 376                 mkdir -p "$dest/usr/closed" || return 1
 377                 if [[ "$closed_top" = usr/closed ]]; then
 378                         (cd usr/closed; hg locate |
 379                             cpio -pd "$dest/usr/closed") >>$LOGFILE 2>&1
 380                         if [ $? -ne 0 ]; then
 381                             echo "cpio failed for $dest/usr/closed" |
 382                                 tee -a $mail_msg_file >> $LOGFILE
 383                             return 1
 384                         fi
 385                 else
 386                         # copy subtree of usr/closed
 387                         closed_top=${closed_top#usr/closed/}
 388                         (cd usr/closed; hg locate "$closed_top" |
 389                             cpio -pd "$dest/usr/closed") >>$LOGFILE 2>&1
 390                         if [ $? -ne 0 ]; then
 391                             echo "cpio failed for " \
 392                                 "$dest/usr/closed/$closed_top" |
 393                                 tee -a $mail_msg_file >> $LOGFILE
 394                             return 1
 395                         fi

The 'hg locate' commands on line 378 and 388 follow a 'cd usr/closed', should 
the hg locate commands append '--include .' to limit the list of located files 
to 'usr/closed'?

Regards,  Stace
 
 
This message posted from opensolaris.org
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to