Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 36 lines (28 sloc) 630 Bytes
#!/usr/bin/perl -w
#
# Simplified access to the ExtractCert utility.
#
#
# extractCertCall
#
# Provides the stem of a "system" call string to access ExtractCert with the
# required extensions.
#
sub extractCertCall
{
my $extractCertRoot = "../tools/extractcert";
my $res = "java";
#$res .= " -Djavax.net.debug=ssl:record";
# Classpath
my $classpath = '';
while (glob "$extractCertRoot/lib/*") {
$classpath .= ':' unless $classpath eq '';
$classpath .= $_;
}
$res .= " -cp $classpath";
# Class to invoke
$res .= " uk.ac.sdss.extractcert.ExtractCert";
$res;
}
#print ">>>" . extractCertCall . "<<<\n";
1;