Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
ce0a0329
Commit
ce0a0329
authored
Mar 22, 2007
by
Andrea Sciaba
Browse files
Added possibility to change SAM workdir
parent
64098c65
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/same-cron/makesitelist.pl
View file @
ce0a0329
...
...
@@ -7,6 +7,7 @@
$template
=
$ARGV
[
0
];
$confile
=
$ARGV
[
1
];
$sameworkdir
=
$ARGV
[
2
];
@sites
=
(
'
https://twiki.cern.ch/twiki/pub/CMS/SitesList/CMS-T1.txt
',
...
...
@@ -42,6 +43,11 @@ while (<TEMPLATE>) {
s/\"$//
;
$_
.=
"
$conf
\"
";
}
if
(
defined
$sameworkdir
)
{
if
(
/^workdir/
)
{
s/same/$sameworkdir/
;
}
}
print
CONF
"
$_
\n
";
}
close
TEMPLATE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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