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