aboutsummaryrefslogtreecommitdiff
path: root/setup/package.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-28 12:12:33 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-28 12:12:33 +1200
commit7644abe2e8aeb27de803b35bea772e2fe0a94c72 (patch)
treeff5d80b28dc35d6ef38ae726a4a679ec358781df /setup/package.sh
parent09a99e1e3971612fe7effea976e0cd1e669f4320 (diff)
downloadtrackermap-server-7644abe2e8aeb27de803b35bea772e2fe0a94c72.tar.gz
trackermap-server-7644abe2e8aeb27de803b35bea772e2fe0a94c72.tar.bz2
trackermap-server-7644abe2e8aeb27de803b35bea772e2fe0a94c72.zip
Set character encoding to UTF-8
Diffstat (limited to 'setup/package.sh')
-rwxr-xr-xsetup/package.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/package.sh b/setup/package.sh
index 45facba5a..5199e972c 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -120,6 +120,7 @@ package_unix () {
sed -i '/wrapper.java.classpath.1/i\wrapper.java.classpath.2=../tracker-server.jar' out/conf/wrapper.conf
sed -i '/wrapper.app.parameter.1/i\wrapper.app.parameter.2=../conf/traccar.xml' out/conf/wrapper.conf
+ sed -i 's/wrapper.java.additional.1=/wrapper.java.additional.1=-Dfile.encoding=UTF-8/g' out/conf/wrapper.conf
sed -i 's/<YourMainClass>/org.traccar.Main/g' out/conf/wrapper.conf
sed -i 's/@app.name@/traccar/g' out/conf/wrapper.conf
sed -i 's/@app.long.name@/traccar/g' out/conf/wrapper.conf