[Parted-maintainers] Bug#298017: parted: bashisms in *.dpatch sh scripts

Nikolaus Schulz Nikolaus Schulz <microschulz@web.de>, 298017@bugs.debian.org
Fri, 04 Mar 2005 03:04:30 +0100


Package: parted
Version: 1.6.11-8
Severity: normal

Hi,

the patches in debian/patches are sh scripts. 
Running "checkbashisms debian/patches/*.dpatch" detects this:

amiga.dpatch line 8: '. $(dirname $0)/DPATCH'
chs.dpatch line 8: '. $(dirname $0)/DPATCH'
devfs.dpatch line 9: '. $(dirname $0)/DPATCH'
devfs.dpatch line 30: '[len-1] == '
devfs.dpatch line 31: '[len-3] == '
doc-package.dpatch line 7: '. $(dirname $0)/DPATCH'
errors-to-stderr.dpatch line 7: '. $(dirname $0)/DPATCH'
gcc-3.4.dpatch line 8: '. $(dirname $0)/DPATCH'
hfs.dpatch line 9: '. $(dirname $0)/DPATCH'
hfs.dpatch line 1239: '[j].start_block == '
lvm2.dpatch line 7: '. $(dirname $0)/DPATCH'
no-clobber.dpatch line 9: '. $(dirname $0)/DPATCH'
prep.dpatch line 8: '. $(dirname $0)/DPATCH'
reiserfs-libname.dpatch line 8: '. $(dirname $0)/DPATCH'
s390.dpatch line 9: '. $(dirname $0)/DPATCH'
sun_disklabel.dpatch line 8: '. $(dirname $0)/DPATCH'
ubd.dpatch line 8: '. $(dirname $0)/DPATCH'


Regards,
Nikolaus


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8-powerpc-fbfix
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages parted depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libparted1.6-0              1.6.11-8     The GNU Parted disk partitioning s
ii  libreadline4                4.3-11       GNU readline and history libraries

-- no debconf information