From 53d0568ec0fec5a1472bb4f9417d957d9c3802ad Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 4 Jul 2020 13:37:21 -0400 Subject: more quoting --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property/SiteSpecific') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 0abd1899..5c4bf569 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1321,7 +1321,7 @@ autoMountDrivePort label hp drive malias = propertyList desc $ props -- drive lsusb to find that. This works even if the -- port is powered off, as long as it's been on at -- some point before. - [ "$(lsusb -tvv | perl -lne \"if (m!/sys/bus/usb/devices/(.*?) !) {\\\\$v=$1}; if (/" + [ "$(lsusb -tvv | perl -lne \"if (m!/sys/bus/usb/devices/(.*?) !) {\\\\$v=\\\\$1}; if (/" , driveVendorId drive ++ ":" ++ driveProductId drive ++ "/) { print \\\\$v; last}\")" ] -- cgit v1.2.3