Skip to content

Commit

Permalink
Fix for paths that contain whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfon authored Feb 13, 2017
1 parent 185b580 commit fe32b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eac3toac3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ IFILE=$(basename "$MKV_INPUT")
IFILE="${IFILE%.*}"

# get E-AC3 audio track ID from MKV container
LINE=$(LANG=C mkvinfo ${MKV_INPUT} | grep "Track type" | grep -n "audio" | cut -d":" -f1)
LINE=$(LANG=C mkvinfo "${MKV_INPUT}" | grep "Track type" | grep -n "audio" | cut -d":" -f1)
AUDIO_ID=$(( $LINE - 1 ))

# extract E-AC3 audio track from MKV container
Expand Down

0 comments on commit fe32b4b

Please sign in to comment.