BTS

Issue712

Title scanmodem in grml-network
Priority bug Status resolved
Superseder Nosy List joewoe, mika
Assigned To mika Topics

Created on 2009-07-24.20:46:27 by joewoe, last changed 2009-07-24.21:16:01 by mika.

Messages
msg2360 (view) Author: mika Date: 2009-07-24.21:15:55
We believe that your issue has been closed by the upload of
Version 0.2.9 of grml-network from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 24 Jul 2009 22:59:07 +0200
Source: grml-network
Binary: grml-network
Architecture: source all
Version: 0.2.9
Distribution: unstable
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml-network - network related helper scripts
Changes: 
 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]
   * Bump Standard to Version 3.8.2 (no further changes).
Checksums-Sha1: 
 97a24e3e40cd2b63a8b505f4d2213fb503a2c747 887 grml-network_0.2.9.dsc
 e3998214ffc9a62a56e84f013a06728370c7676f 87591 grml-network_0.2.9.tar.gz
 3adfa1ad4ea96d92dba06f15315dd585b3492300 92226 grml-network_0.2.9_all.deb
Checksums-Sha256: 
 9c60b624432f8fe8cf4ced89996ec3762d5b7d7ba933de1d6741d1828520468b 887 grml-network_0.2.9.dsc
 010dd87e89ce3e7bfd4b5b9a6386642da95cc23da1fcb420e2244f35df4b0070 87591 grml-network_0.2.9.tar.gz
 27cce65e4b039e48f5516568e4eb4ea173f45524b2d67cd5c3c8e30c2e778f65 92226 grml-network_0.2.9_all.deb
Files: 
 8d799744f2737fd2dc6b28e94793d76f 887 grml optional grml-network_0.2.9.dsc
 fd2c0ce0975a6a7d899ff5c4818d76af 87591 grml optional grml-network_0.2.9.tar.gz
 7c53f628970094c0849ec05cc3e4bd28 92226 grml optional grml-network_0.2.9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKaiDC2N9T+zficugRAspYAJ9xcXaf+Hk3szXngY4eq1Mh8ooF+gCfWUfT
MocDF7zG8xInb5dUFAvzhVs=
=dU7n
-----END PGP SIGNATURE-----
msg2359 (view) Author: mika Date: 2009-07-24.20:58:25
Thanks for the bugreport and the patch, Joerg! It's fixed in git:

  http://git.grml.org/?p=grml-network.git;a=commit;h=da7dedd

The package upload will happen in a few minutes.

thx && regards,
-mika-
msg2358 (view) Author: joewoe Date: 2009-07-24.20:46:24
Hi!

% scanmodem

[ snip ]

find: warning: you have specified the -mindepth option after a
non-option argument -name, but options are not positional (-mindepth
affects tests specified before it as well as those specified after
it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a
non-option argument -name, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after
it).  Please specify options before other arguments.

[ snip ]

%

Just flip the args to find. 
Patch:

###Cut 
--- scanmodem   2009-06-16 00:42:09.000000000 +0200
+++ scanmodem.neu       2009-07-24 22:00:47.000000000 +0200
@@ -936,7 +936,7 @@
 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
###Cut

Thanks and Greetings, J"o!

-- 
question = ( to ) ? be : ! be;
		-- Wm. Shakespeare
History
Date User Action Args
2009-07-24 21:16:01mikasetstatus: fixed-in-git -> resolved
messages: + msg2360
2009-07-24 20:58:26mikasetpriority: bug
status: unread -> fixed-in-git
messages: + msg2359
nosy: + mika
assignedto: mika
2009-07-24 20:46:27joewoecreate