ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/DBTools/scripts/osudb
(Generate patch)

Comparing UserCode/OSUT3Analysis/DBTools/scripts/osudb (file contents):
Revision 1.18 by ahart, Sat Jan 19 07:36:04 2013 UTC vs.
Revision 1.19 by ahart, Fri Jan 25 21:52:38 2013 UTC

# Line 497 | Line 497 | printHelp
497      }
498    elsif ($command eq "uploadConfig")
499      {
500 <      print "Usage: $exeName -p FILE -r DIRECTORY [OPTION]... uploadConfig NAME\n";
500 >      print "Usage: $exeName -p FILE -r RELEASE [OPTION]... uploadConfig NAME\n";
501        print "Creates an entry in the database for a customized Python configuration file.\n";
502        print "\n";
503        print "Mandatory arguments to long options are mandatory for short options too.\n";
# Line 589 | Line 589 | uploadRelease
589        print "$recipeName does not exist!\n";
590        exit;
591      }
592 <  move ($release, "/home/hart/public_html/releases/$name.tar.gz") or die "Ntuple releases may only be uploaded on the Tier 3, stopped";
592 >  move ($release, "/home/osucms/public_html/releases/$name.tar.gz") or die "Ntuple releases may only be uploaded on the Tier 3, stopped";
593    open (PY_CONFIG, "<$psetName");
594    my @pset = <PY_CONFIG>;
595    close (PY_CONFIG);
# Line 633 | Line 633 | downloadRelease
633        print "Ntuple release \"$release\" not found!\n";
634        exit;
635      }
636 <  if (!(-e "/home/hart/public_html/releases/$release.tar.gz"))
636 >  if (!(-e "/home/osucms/public_html/releases/$release.tar.gz"))
637      {
638        print "Release is in the database but no package exists!\n";
639        exit;
# Line 645 | Line 645 | downloadRelease
645        print PY_CONFIG $row[1];
646        close (PY_CONFIG);
647      }
648 <  copy ("/home/hart/public_html/releases/$release.tar.gz", "$release.tar.gz");
648 >  copy ("/home/osucms/public_html/releases/$release.tar.gz", "$release.tar.gz");
649   }
650  
651   sub

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines