Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
64b9da30
Commit
64b9da30
authored
Mar 22, 2007
by
Andrea Sciaba
Browse files
Script moved to same-cron dir
parent
0abc841b
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/cms2sam.sh
deleted
100755 → 0
View file @
0abc841b
#!/bin/bash
#
# Script to update the SAM installation with the latest CMS tests from CVS
#
SAME_DIR
=
$1
TEMPDIR
=
/tmp
export
CVSROOT
=
:pserver:anonymous@cmscvs.cern.ch:/cvs_server/repositories/CMSSW
cd
$TEMPDIR
rm
-rf
CMSSAM
cvs co CMSSAM
>
/dev/null
res
=
$?
if
[
$res
!=
0
]
;
then
echo
"CVS checkout failed"
exit
1
fi
CMS_DIR
=
$TEMPDIR
/CMSSAM/SiteTests
# testjob sensor
sensor
=
'testjob'
modules
=
'FroNtier MonteCarlo testjob'
for
i
in
$modules
;
do
cd
$CMS_DIR
/
$i
for
j
in
`
find
.
-not
-regex
'.*\(CVS\).*'
`
;
do
if
[
-d
$j
]
;
then
mkdir
-p
$SAME_DIR
/client/sensors/
$sensor
/
$j
else
cp
$j
$SAME_DIR
/client/sensors/
$sensor
/
`
dirname
$j
`
fi
done
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment