Removing quotes from udev path_id command to actually execute the command.
authorDaniel Baumann <daniel@debian.org>
Thu, 1 Dec 2011 10:09:53 +0000 (11:09 +0100)
committerDaniel Baumann <daniel@debian.org>
Thu, 1 Dec 2011 10:09:53 +0000 (11:09 +0100)
scripts/live

index 1b5c89e..8ffbc20 100755 (executable)
@@ -536,7 +536,7 @@ is_nice_device ()
                PATH_ID="/sbin/udevadm test-builtin path_id"
        fi
 
-       if "${PATH_ID}" "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)"
+       if ${PATH_ID} "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)"
        then
                return 0
        elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'