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
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 @@
...
@@ -7,6 +7,7 @@
$template
=
$ARGV
[
0
];
$template
=
$ARGV
[
0
];
$confile
=
$ARGV
[
1
];
$confile
=
$ARGV
[
1
];
$sameworkdir
=
$ARGV
[
2
];
@sites
=
(
@sites
=
(
'
https://twiki.cern.ch/twiki/pub/CMS/SitesList/CMS-T1.txt
',
'
https://twiki.cern.ch/twiki/pub/CMS/SitesList/CMS-T1.txt
',
...
@@ -42,6 +43,11 @@ while (<TEMPLATE>) {
...
@@ -42,6 +43,11 @@ while (<TEMPLATE>) {
s/\"$//
;
s/\"$//
;
$_
.=
"
$conf
\"
";
$_
.=
"
$conf
\"
";
}
}
if
(
defined
$sameworkdir
)
{
if
(
/^workdir/
)
{
s/same/$sameworkdir/
;
}
}
print
CONF
"
$_
\n
";
print
CONF
"
$_
\n
";
}
}
close
TEMPLATE
;
close
TEMPLATE
;
...
...
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