scanmodem: apply patch by Joerg Woelke which addresses the right way to specify find...
authorMichael Prokop <mika@grml.org>
Fri, 24 Jul 2009 20:56:14 +0000 (22:56 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 24 Jul 2009 20:56:47 +0000 (22:56 +0200)
debian/changelog
sbin/scanmodem

index dbdfb9e..732d383 100644 (file)
@@ -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 <mika@grml.org>  Fri, 24 Jul 2009 22:55:07 +0200
+
 grml-network (0.2.8) unstable; urgency=low
 
   * netcardconfig: use 'udevadm info' instead of 'udevinfo' if
index 8ca1128..552ad79 100755 (executable)
@@ -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