X-Git-Url: https://git.hcoop.net/clinton/abcde.git/blobdiff_plain/0460999875df81fcc8886287633f544e29c219c6..47589f718092b239eb646c2a4a58a80f4322ebd1:/abcde diff --git a/abcde b/abcde index 1d16606..65586b0 100755 --- a/abcde +++ b/abcde @@ -1621,7 +1621,7 @@ do_cdread () cddafs) # Find the track's mounted path REALTRACKNUM=$(expr $UTRACKNUM + 0) - FILEPATH=$(mount | grep "$CDROM on" | sed 's/^[^ ]* on \([^(]*\) (.*/\1/') + FILEPATH=$(mount | grep "$CDROM on" | sed 's/^[^ ]* on \(.*\) (.*/\1/') FILEPATH=$(find "$FILEPATH" | grep "/$REALTRACKNUM "); # If the file exists, copy it if [ -e "$FILEPATH" ] ; then