Merge pull request #53 from SendSpams/master

Fixed HOME environment variable missing under Windows
This commit is contained in:
KrumpetPirate 2018-04-06 10:55:32 -05:00 committed by GitHub
commit a691b5fd54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,8 @@ codec=libmp3lame
extension=mp3 extension=mp3
mode=chaptered mode=chaptered
authcode=".authcode"; authcode=".authcode";
authcodeDirs="${HOME}/ ./"; if [ -z ${HOME+x} ] && ! [ -z ${USERPROFILE+x} ]; then HOME="$USERPROFILE"; fi
authcodeDirs="${HOME}/ ./"
GREP=$(grep --version | grep -q GNU && echo "grep" || echo "ggrep") GREP=$(grep --version | grep -q GNU && echo "grep" || echo "ggrep")
if ! [[ $(type -P "$GREP") ]]; then if ! [[ $(type -P "$GREP") ]]; then