Comment 1 for bug 508210

Revision history for this message
danstowell (danstowell) wrote :

I thought I'd be safe from this but then...

$ sudo ./make-live-device.sh ../../puredyne-910-carrot_and_coriander-CD.iso /dev/sdb
[sudo] password for dan:
[?] Are you sure your target is /dev/sdb ? (y/n)y
./make-live-device.sh: line 52: [: ==: unary operator expected
[!] Wrong source. Please either specify an ISO file or use 'live' to use the current live system as source.

I've committed a fix (rev #51) which uses a bash syntax for directly getting the file extension.