Skip to content

Commit

Permalink
fix recogition of vfat context image
Browse files Browse the repository at this point in the history
  • Loading branch information
jblomer committed May 13, 2014
1 parent fa25d9f commit 230f488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hepix/extra/hepix_functions
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ getResourcesFromCD() {
rdisk=$dev

# Extract filesystem type of device
fstype=$( blkid $rdisk | grep -o -E 'TYPE="[0-9a-zA-Z]+' )
fstype=$( blkid $rdisk | sed -e 's/SEC_TYPE//' | grep -o -E 'TYPE="[0-9a-zA-Z]+' )
fstype=${fstype:6}

if [ "x$fstype" = "xiso9660" -o "x$fstype" = "xvfat" ]; then
Expand Down

0 comments on commit 230f488

Please sign in to comment.