Changeset 2761


Ignore:
Timestamp:
Feb 28, 2013 5:57:06 AM (7 years ago)
Author:
bradbell
Message:

only remove old web documentation, when new one was created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf/archive-cppad.sh

    r2760 r2761  
    351351                echo_exec /sbin/restorecon -RF $web_doc
    352352        fi
    353 fi
    354 
    355 # remove trunk archives that are older than two days
     353        # clean up old documentation directory
     354        echo_exec rm -r $web_doc.old
     355fi
     356
     357# clean up trunk archives that are older than two days
    356358echo "find $archive_path \\"
    357359echo    "-regex '.*/cppad-[0-9]*\.[eg]pl.tgz' \\"
     
    363365        -exec rm '{}' \;
    364366
    365 # cleanup
     367# clean up tempory work space
    366368echo_exec rm -r $temp_dir
    367 echo_exec rm -r $web_doc.old
    368369
    369370# if we get here, no errors occurred
Note: See TracChangeset for help on using the changeset viewer.