From: Michael Prokop Date: Fri, 24 Jul 2009 20:56:14 +0000 (+0200) Subject: scanmodem: apply patch by Joerg Woelke which addresses the right way to specify find... X-Git-Tag: v0.2.9~1 X-Git-Url: http://git.grml.org/?p=grml-network.git;a=commitdiff_plain;h=da7deddc9ea273ac6faf448f564b61f73dc98aed scanmodem: apply patch by Joerg Woelke which addresses the right way to specify find options --- diff --git a/debian/changelog b/debian/changelog index dbdfb9e..732d383 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-network (0.2.9) unstable; urgency=low + + * scanmodem: apply patch by Joerg Woelke which addresses the + right way to specify find options (thanks!). [Closes: issue712] + + -- Michael Prokop Fri, 24 Jul 2009 22:55:07 +0200 + grml-network (0.2.8) unstable; urgency=low * netcardconfig: use 'udevadm info' instead of 'udevinfo' if diff --git a/sbin/scanmodem b/sbin/scanmodem index 8ca1128..552ad79 100755 --- a/sbin/scanmodem +++ b/sbin/scanmodem @@ -936,7 +936,7 @@ fi # SIL_id # slamr.ko test if [ -x /bin/dmesg ] ; then DMESG=/bin/dmesg - SLAMR=`find /lib/modules/ -name slamr.* -mindepth 3 -maxdepth 5 | grep $SYS` + SLAMR=$(find /lib/modules/ -mindepth 3 -maxdepth 5 -name slamr.* | grep $SYS) fi if test -n "$DMESG" -a -n "$SLAMR" -a -n "$smart" ; then