source: gs2-extensions/malware-checker/trunk/java/AddComment.sh@ 33708

Last change on this file since 33708 was 33708, checked in by davidb, 4 years ago

Changed code so api key can be in separate file, and passed in on the command-line to the Java code

  • Property svn:executable set to *
File size: 213 bytes
Line 
1#!/bin/bash
2
3if [ -f virustotal-key.txt ] ; then
4 apikey=`cat virustotal-key.txt`
5fi
6
7java -cp target/malware-checker-1.0-SNAPSHOT-jar-with-dependencies.jar org.greenstone.virustotal.AddComment $apikey $*
8
9
10
Note: See TracBrowser for help on using the repository browser.