Skip to content

Commit

Permalink
Default to /dev/cdrom, allow override
Browse files Browse the repository at this point in the history
  • Loading branch information
dpocock committed Jul 9, 2015
1 parent 264512e commit cd14b51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion checkflac
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/sh
set -e

CDROM=/dev/hdc
if [ -z "$CDROM" ];
then
CDROM=/dev/cdrom
fi

if [ $# = "1" ]
then
Expand Down

0 comments on commit cd14b51

Please sign in to comment.