Package: devscripts
Version: 2.10.35lenny1
Severity: normal

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

I've found a small bug in checkbashisms' processing of the "((...))"
bashisms.  For some reason, it doesn't find the bashism if "$#" is
used in the enclosed expression:

servo:/tmp/cdtemp.JNHNWu 0$ cat ./foo
#!/bin/sh
(( $# < 2 ))
servo:/tmp/cdtemp.JNHNWu 0$ checkbashisms -p ./foo
servo:/tmp/cdtemp.JNHNWu 0$ sh ./foo
./foo: 2: cannot open 2: No such file
./foo: 2: 0: not found
servo:/tmp/cdtemp.JNHNWu 127$ 

Not sure why this happening, and unfortunately I don't know enough
regexp to attempt to supply a patch.

Thanks so much for supplying such a useful tool.

jamie.

- -- Package-specific info:

- --- /etc/devscripts.conf ---

- --- ~/.devscripts ---
Not present

- -- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.14.23    Debian package development tools
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  perl                          5.10.0-18  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                    3.1.10.2           Delayed job execution and batch pr
ii  bzr                   1.5-1.1            easy to use distributed version co
ii  conkeror [www-browser 0.9~git080629-2    keyboard focused web browser with 
ii  curl                  7.18.2-5           Get a file from an HTTP, HTTPS or 
ii  cvs                   1:1.12.13-12       Concurrent Versions System
ii  dctrl-tools           2.13.0             Command-line tools to process Debi
ii  debian-keyring        2008.07.22         GnuPG (and obsolete PGP) keys of D
ii  debian-maintainers    1.42               GPG keys of Debian maintainers
pn  dput | dupload        <none>             (no description available)
ii  equivs                2.0.7-0.1          Circumvent Debian package dependen
ii  fakeroot              1.11               Gives a fake root environment
ii  git-core              1:1.5.6.5-1        fast, scalable, distributed revisi
ii  gnupg                 1.4.9-3            GNU privacy guard - a free PGP rep
ii  iceweasel [www-browse 3.0.4-1            lightweight web browser based on M
ii  konqueror [www-browse 4:3.5.9.dfsg.1-6   KDE's advanced file manager, web b
ii  libauthen-sasl-perl   2.12-1             Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-perl  0.57-1+b1          Support for https protocol in LWP
ii  libparse-debcontrol-p 2.005-2            Easy OO parsing of Debian control-
ii  libsoap-lite-perl     0.710.08-1         Client and server side SOAP implem
ii  libterm-size-perl     0.2-4+b1           Perl extension for retrieving term
ii  libtimedate-perl      1.1600-9           Time and date functions for Perl
ii  liburi-perl           1.35.dfsg.1-1      Manipulates and accesses URI strin
ii  libwww-perl           5.813-1            WWW client/server library for Perl
ii  libyaml-syck-perl     1.05-1             Fast, lightweight YAML loader and 
ii  links [www-browser]   2.1pre37-1.1       Web browser running in text mode
ii  lintian               1.24.2.1           Debian package checker
ii  lsb-release           3.2-20             Linux Standard Base version report
ii  lynx-cur [www-browser 2.8.7dev9-2.1      Text-mode WWW Browser with NLS sup
ii  mailutils [mailx]     1:1.2+dfsg1-4      GNU mailutils utilities for handli
ii  man-db                2.5.2-3            on-line manual pager
ii  openssh-client [ssh-c 1:5.1p1-4          secure shell client, an rlogin/rsh
ii  opera [www-browser]   9.51.2061.gcc4.qt3 The Opera Web Browser
ii  patch                 2.5.9-5            Apply a diff file to an original
ii  patchutils            0.2.31-4           Utilities to work with patches
ii  strace                4.5.17+cvs080723-2 A system call tracer
ii  subversion            1.5.1dfsg1-1       Advanced version control system
ii  unzip                 5.52-12            De-archiver for .zip files
ii  w3m [www-browser]     0.5.2-2+b1         WWW browsable pager with excellent
ii  wdiff                 0.5-18             Compares two files word by word
ii  wget                  1.11.4-2           retrieves files from the web

Versions of packages devscripts suggests:
ii  build-essenti 11.4                       Informational list of build-essent
pn  cvs-buildpack <none>                     (no description available)
ii  devscripts-el 29.3-2                     Emacs wrappers for the commands in
ii  gnuplot       4.2.2-1.2                  A command-line driven interactive 
pn  libfile-deskt <none>                     (no description available)
pn  libnet-smtp-s <none>                     (no description available)
ii  mutt          1.5.18.pgpsigdispattach1-1 text-based mailreader supporting M
pn  svn-buildpack <none>                     (no description available)

- -- no debconf information

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

iQIcBAEBAgAGBQJJW6q+AAoJEO00zqvie6q8H2MQALm7J7mdoZswGHqL10TwwZB+
a5lkwLEhxJqClAyuifTrn2Z1oKD4yCsKoQ8/0QkJk3jBQGXvRtUH9cEXR7YTjrXB
/raKdjIKYvwlmHbxG10VvbfT01InKjOSRtU9yphFouEWwE+/vg593MO+7GCet6CV
DLAFwm/5zy3UEVzcIAUdJYMQL64OymU7M1SoxErs2M6BjXuT1M9ngz04Mg5+tYwu
R7NXeaasOOM3PQ+1Bwxq0ylXNrcq9Qu/dXMqQ67NVuyENF3eWfU1u7u0dX7g4d/0
n3us49YD1XRuEBiLc6sMPyGQZbzl8MWrwsVyWCfkdb43u2e9kdv/lIJ0EYOqTmDh
vgTpJmVdaJxzOhSCNRWGxSDkhpwbIC1o2JnEJxnFFlBGTB1+s1XP3mwxgngIW8bZ
nEPwYc86RovvVM2zFXPdSeOB1mh761A9XtoJuaBPHq7V6easzKgnXY6h5baJb+t8
SUCm9sMWDKQA3YcUjDXB7tbqcF6RfkLldopFd/XqgrkeRid/ZNQyPawbHk6U3M2X
B9+pgsaw4gJge2GxQY2qkKiZNkCrmCaxVyXWEJFYGIougbQMs2U5ZYNK9RTfYPGE
1tCp5pHhycxTk6DYaITarDimsj92vgrgGjH6tKbwABdF8yhFrspbHxJVf9HyGqu2
+ffnKeRtVDkZ+H4VKM2B
=yizd
-----END PGP SIGNATURE-----




-- 
To unsubscribe, send mail to [email protected].

Reply via email to