summaryrefslogtreecommitdiffstats
path: root/base/java-tools/pki
diff options
context:
space:
mode:
Diffstat (limited to 'base/java-tools/pki')
-rwxr-xr-xbase/java-tools/pki5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/java-tools/pki b/base/java-tools/pki
index 197fa6100..07eb4ee28 100755
--- a/base/java-tools/pki
+++ b/base/java-tools/pki
@@ -107,12 +107,15 @@ if( $ARCHITECTURE eq "x86_64" ) {
## based upon the preset LD_LIBRARY_PATH and CP environment variables. ##
###############################################################################
+my $PKI_CLI_OPTIONS = `source /etc/pki/pki.conf && echo \$PKI_CLI_OPTIONS`;
+chomp($PKI_CLI_OPTIONS);
+
my @args = ();
foreach (@ARGV) {
push(@args, quotemeta($_));
}
-my $command = "java -cp $ENV{CLASSPATH} com.netscape.cmstools.cli.MainCLI @args";
+my $command = "java -cp $ENV{CLASSPATH} com.netscape.cmstools.cli.MainCLI $PKI_CLI_OPTIONS @args";
system($command) and do {
exit $? >> 8;