From a3b62cd3576cb378c1893a86aa3115ad3c59527c Mon Sep 17 00:00:00 2001 From: taniman Date: Thu, 11 Apr 2019 14:09:41 -0400 Subject: [PATCH] Fix for rev stdin error rev: stdin: Invalid or incomplete multibyte or wide character --- update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 457a682..12cecae 100644 --- a/update.sh +++ b/update.sh @@ -1,7 +1,7 @@ #!/bin/bash ### Linux .jar Update Script for ProfitTrailer -### LAST UPDATED 20 Mar 2019 +### LAST UPDATED 11 Apr 2019 ### Place this script in the root folder where all your individual bot folders are and then execute it. ### For simplicity each ProfitTrailer.jar file should be nested exactly one subfolder. @@ -16,6 +16,9 @@ ### execute using ./linux-update.sh https://cdn.discordapp.com/exampleurlonly/ProfitTrailer-2.0.4-B1.jar.zip to download a beta version from a link ### the link must contain the "ProfitTrailer-2.0.4-B1.jar.zip" portion to work though the ".jar" and "-B#" can be missing. +### Set all child processes to this locale language to prevent rev from breaking +export LC_ALL='en_US.UTF-8' + ###Get the Directory and filename of the script### DIR=$(dirname "$(readlink -f "$0")") script=$(basename "$0")