Revision: | 1.2 |
Committed: | Tue Sep 3 15:15:11 2002 UTC (22 years, 8 months ago) by sashby |
Content type: | application/x-sh |
Branch: | MAIN |
CVS Tags: | V1_0_3-p4, forV1_1_0, v103_xml_071106, V1_0_3-p3, V1_0_3-p2, V110p2, V110p1, V1_0_4p1, V1_0_3-p1, V1_0_3, V1_0_2, V1_0_2_p1, v102p1, V1_0_1, V1_0_0, V1_pre0, V0_19_7 |
Branch point for: | v103_with_xml, v103_branch, SCRAM_V1_BRANCH |
Changes since 1.1: | +3 -18 lines |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | sashby | 1.1 | #!/bin/sh |
2 | #===========================================================================# | ||
3 | # NAME: projectlist.sh # | ||
4 | #===========================================================================# | ||
5 | # # | ||
6 | # DATE: Wed Aug 28 12:49:33 2002 # | ||
7 | # # | ||
8 | # AUTHOR: Shaun Ashby # | ||
9 | # # | ||
10 | # MOD LOG: # | ||
11 | # # | ||
12 | # # | ||
13 | #===========================================================================# | ||
14 | # DESCRIPTION: Script produces a list of released projects. Run from an # | ||
15 | # acrontab entry under pubzh. # | ||
16 | #===========================================================================# | ||
17 | CMS_PATH=/afs/cern.ch/cms | ||
18 | PATH=$PATH:$CMS_PATH/utils | ||
19 | export CMS_PATH PATH | ||
20 | |||
21 | # Work from AFS public directory: | ||
22 | cd $HOME/public | ||
23 | |||
24 | scriptname=`basename $0` | ||
25 | self=`echo $scriptname |awk -F. '{print $1}'| tr a-z A-Z` | ||
26 | grepopt=-v greppat=".*" | ||
27 | |||
28 | ###################### | ||
29 | case $self in | ||
30 | PROJECTLIST ) grepopt=-v greppat="ORCA_3|_pre|CMSToolBox|VALIDATION|optimised|TEST" ;; | ||
31 | * ) grepopt= greppat="$self" ;; | ||
32 | esac | ||
33 | |||
34 | sashby | 1.2 | # Use listcompact command to dump project list without fancy formatting: |
35 | scram listcompact | egrep $grepopt "$greppat" | sort -rd > "released-projects.txt" | ||
36 |