/[CCFs]/bin/deleteccf
ViewVC logotype

Contents of /bin/deleteccf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Mon Mar 18 18:28:57 2002 UTC (22 years, 8 months ago) by ccflib
Branch: MAIN
*** empty log message ***

1 #! /usr/local/bin/perl -w
2 #
3 # Giuseppe Vacanti (cosine science & computing bv)
4 #
5 # $Id$
6 #
7 require 5;
8 use strict;
9 use lib "/data/xmm/ccflib/cgi";
10 $Env{'PATH'} .= "/data/xmm/ccflib/bin:";
11 use Ccflib;
12
13 chdir $Ccflib::develrm or die("Cannot access $Ccflib::develrm\n");
14
15 my $deletes;
16 foreach my $ccf (glob("*.CCF")){
17 qx/rm -f $ccf/;
18 if(! $? >> 8){
19 warn("Deletion of $ccf failed\n");
20 } else {
21 $deletes .= "$ccf ";
22 }
23 }
24
25 my $x = qx/ccfnotify -t development -d $deletes/;
26
27 if(! $? >> 8){
28 warn("Notification failed\n");
29 }
30
31

  ViewVC Help
Powered by ViewVC 1.1.27