We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3402ac2 commit cb713a3Copy full SHA for cb713a3
pdfsizeopt.trampoline
@@ -0,0 +1,17 @@
1
+#! /bin/sh
2
+# by pts@fazekas.hu at Tue Jan 24 22:09:53 CET 2017
3
+#
4
+# See the README.txt how this script is is used for binary installations of
5
+# pdfsizeopt on Linux.
6
7
+
8
+L0="`readlink "$0"`"
9
+if test "$L0"; then
10
+ PDFSIZEOPT_DIR="${L0%/*}"
11
+ test "${PDFSIZEOPT_DIR#/}" = "$PDFSIZEOPT_DIR" &&
12
+ PDFSIZEOPT_DIR="${0%/*}/$PDFSIZEOPT_DIR"
13
+else
14
+ PDFSIZEOPT_DIR="${0%/*}"
15
+fi
16
+export PYTHONPATH="$PDFSIZEOPT_DIR/pdfsizeopt.single"
17
+exec "$PDFSIZEOPT_DIR"/pdfsizeopt_libexec/python -c 'import sys; del sys.path[0]; import mainrun' ${1+"$@"}
0 commit comments