summarylogtreecommitdiffstats
path: root/01-fix_lib_dir.patch
blob: 46289d994fccb3c488471622941bdb79f0157426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -purN kaitai-struct-compiler-0.8/bin/kaitai-struct-compiler kaitai-struct-compiler-0.8.new/bin/kaitai-struct-compiler
--- kaitai-struct-compiler-0.8/bin/kaitai-struct-compiler	2018-02-05 02:16:20.000000000 +0100
+++ kaitai-struct-compiler-0.8.new/bin/kaitai-struct-compiler	2018-03-04 15:15:23.311979371 +0100
@@ -334,7 +334,7 @@ declare -a app_commands
 declare -r real_script_path="$(realpath "$0")"
 declare -r app_home="$(realpath "$(dirname "$real_script_path")")"
 # TODO - Check whether this is ok in cygwin...
-declare -r lib_dir="$(realpath "${app_home}/../lib")"
+declare -r lib_dir="/usr/share/java/kaitai-struct-compiler"
 declare -a app_mainclass=(io.kaitai.struct.JavaMain)
 
 declare -r script_conf_file="${app_home}/../conf/application.ini"