Commit ce0a0329 authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Added possibility to change SAM workdir

parent 64098c65
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment