Fix for rev stdin error

rev: stdin: Invalid or incomplete multibyte or wide character
This commit is contained in:
taniman 2019-04-11 14:09:41 -04:00
parent 2e78babcfd
commit a3b62cd357
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
### Linux .jar Update Script for ProfitTrailer ### 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. ### 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. ### 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 ### 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. ### 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### ###Get the Directory and filename of the script###
DIR=$(dirname "$(readlink -f "$0")") DIR=$(dirname "$(readlink -f "$0")")
script=$(basename "$0") script=$(basename "$0")