summarylogtreecommitdiffstats
path: root/chdkptp.sh
diff options
context:
space:
mode:
authorluxferresum2015-11-30 20:52:59 +0100
committerluxferresum2015-11-30 20:52:59 +0100
commitaa96d4795107d2dc7f260152fe37ec3a18d89261 (patch)
tree3fc497a27173d2ccfd23f710f3e33c654042de87 /chdkptp.sh
downloadaur-aa96d4795107d2dc7f260152fe37ec3a18d89261.tar.gz
Initial Commit
Diffstat (limited to 'chdkptp.sh')
-rwxr-xr-xchdkptp.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/chdkptp.sh b/chdkptp.sh
new file mode 100755
index 000000000000..138e4db80950
--- /dev/null
+++ b/chdkptp.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# copy this file to chdkptp.sh and ajust for your configuration
+# to use the GUI build from a binary package that includes both CLI and GUI change to chdkptp_gui
+CHDKPTP_EXE=chdkptp
+# path where chdkptp is installed
+CHDKPTP_DIR=/usr/lib/chdkptp
+# LD_LIBRARY_PATH for shared libraries
+# only need if you have compiled IUP support and have NOT installed the libraries to system directories
+#export LD_LIBRARY_PATH=/path/to/iup:/path/to/cd
+export LUA_PATH="$CHDKPTP_DIR/lua/?.lua"
+"$CHDKPTP_DIR/$CHDKPTP_EXE" "$@"