Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #53 from SendSpams/master
Browse files Browse the repository at this point in the history
Fixed HOME environment variable missing under Windows
  • Loading branch information
KrumpetPirate authored Apr 6, 2018
2 parents 2ae7e32 + db014f8 commit a691b5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AAXtoMP3
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ codec=libmp3lame
extension=mp3
mode=chaptered
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")

if ! [[ $(type -P "$GREP") ]]; then
Expand Down

0 comments on commit a691b5f

Please sign in to comment.