From: Daniel Baumann Date: Thu, 1 Dec 2011 10:09:53 +0000 (+0100) Subject: Removing quotes from udev path_id command to actually execute the command. X-Git-Tag: debian/3.0_a24-1~1 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=3099ec887a4e8c3d7567ac99de855254670c45d6;p=live-boot-grml.git Removing quotes from udev path_id command to actually execute the command. --- diff --git a/scripts/live b/scripts/live index 1b5c89e..8ffbc20 100755 --- a/scripts/live +++ b/scripts/live @@ -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]$'