summaryrefslogtreecommitdiff
path: root/community/pdftrans/pdftrans.sh
blob: bf6c881613d45c4a750428e3cd685c3cbaa54b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

PROG_NAME=pdftrans
PROG_MAIN=PDFTrans

CP=/usr/share/java/$PROG_NAME

for jar in /usr/share/java/$PROG_NAME/*.jar; do
  CP=$CP:$jar
done

CP=$CP:/usr/share/java/itext/itext.jar
CP=$CP:/usr/share/java/bcprov.jar

java -cp $CP $PROG_MAIN "$@"