Package: devscripts
Version: 2.10.30
Severity: normal
File: /usr/bin/checkbashisms

I just switched to dash as /bin/sh and am now fixing my scripts, here is
what checkbashisms noticed for one of them:

,----
| possible bashism in /usr/local/sbin/fix-archives line 5 ($UID should be "id 
-ru"):
| if [ "$UID" != "0" ]; then
`----

The recommended replacement will not work as intended, instead
"$(id -ru)" should be used.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.9
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

Versions of packages devscripts recommends:
ii  at            3.1.10.1                   Delayed job execution and batch pr
ii  bsd-mailx [ma 8.1.2-0.20071201cvs-3      A simple mail user agent
ii  curl          7.18.2-1                   Get a file from an HTTP, HTTPS or 
ii  cvs           1:1.12.13-11               Concurrent Versions System
ii  dctrl-tools   2.12                       Command-line tools to process Debi
pn  debian-keyrin <none>                     (no description available)
pn  debian-mainta <none>                     (no description available)
ii  dput          0.9.2.32                   Debian package upload tool
ii  equivs        2.0.7-0.1                  Circumvent Debian package dependen
ii  fakeroot      1.9.5                      Gives a fake root environment
ii  git-core      1:1.5.6-1                  fast, scalable, distributed revisi
ii  gnupg         1.4.9-2                    GNU privacy guard - a free PGP rep
ii  iceape-browse 1.1.9-5                    Iceape Navigator (Internet browser
ii  iceweasel [ww 3.0~rc2-2                  lightweight web browser based on M
ii  konqueror [ww 4:3.5.9.dfsg.1-2+b1        KDE's advanced file manager, web b
pn  libauthen-sas <none>                     (no description available)
pn  libcrypt-ssle <none>                     (no description available)
pn  libparse-debc <none>                     (no description available)
pn  libsoap-lite- <none>                     (no description available)
pn  libterm-size- <none>                     (no description available)
ii  libtimedate-p 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.812-1                    WWW client/server library for Perl
pn  libyaml-syck- <none>                     (no description available)
ii  lintian       1.24.1                     Debian package checker
ii  lsb-release   3.2-12                     Linux Standard Base version report
ii  lynx [www-bro 2.8.6-2.1                  Text-mode WWW Browser
ii  man-db        2.5.2-1                    on-line manual pager
ii  mercurial     1.0.1-1                    Scalable distributed version contr
ii  openssh-clien 1:4.7p1-12                 secure shell client, an rlogin/rsh
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.15-1.2                 A system call tracer
ii  subversion    1.4.6dfsg1-4               Advanced version control system
ii  tla           1.3.5+dfsg-9.1             GNU Arch revision control system
ii  unzip         5.52-11                    De-archiver for .zip files
ii  w3-el-e21 [ww 4.0pre.2001.10.27.nodocs-5 Web browser for GNU Emacs 21
ii  w3m [www-brow 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.3-1                   retrieves files from the web

-- no debconf information




-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to