projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d004c8
)
Added another ISO file format check in the burn command.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 3 Jan 2014 09:51:12 +0000
(10:51 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 3 Jan 2014 09:51:12 +0000
(10:51 +0100)
bashrc
patch
|
blob
|
history
diff --git
a/bashrc
b/bashrc
index
86a1f88
..
6310a94
100644
(file)
--- a/
bashrc
+++ b/
bashrc
@@
-554,7
+554,7
@@
function burn () {
if [[ ! "$1" ]]; then
echo "burn <iso name | dirname>" >&2
elif [[ -f "$1" ]]; then
- if [[ $(file "$1" | grep "ISO 9660") ]]; then
+ if [[ $(file "$1" | grep "ISO 9660") ]]
|| [[ $(file "$1" | grep "UDF filesystem data") ]]
; then
wodim -eject -v dev=${DEVICE} "$1"
else
echo "Unknown type of $1" >&2