Bug#841341: bd "Bad substitution" if /bin/sh is not bash

2016-11-01 Thread Eriberto Mota
Control: severity 841341 normal

Hi,

I am lowering severity from grave to normal because short and long
description, explicitly, says that bd is for Bash.

Paulo is doing a revision to make bash as a dependency and I will
sponsor this package.

Thanks!

Regards,

Eriberto



Bug#841341: bd "Bad substitution" if /bin/sh is not bash

2016-10-19 Thread Paulo Henrique de Lima Santana
Hi Gerardo,

Thanks! I'm fixing it.

Best regards,

-- 
Paulo Henrique de Lima Santana (phls)
Membro da Comunidade Curitiba Livre
Fone: +55 (41) 9198-1897
Site: http://www.phls.com.br
GNU/Linux user: 228719  GPG ID: 0443C450

Apoie a campanha pela igualdade de gĂȘnero #HeForShe (#ElesPorElas)  
http://www.heforshe.org/pt



Bug#841341: bd "Bad substitution" if /bin/sh is not bash

2016-10-19 Thread Gerardo Martin Chaves
Package: bd
Version: 1.01-1
Severity: grave
Tags: patch
Justification: renders package unusable

bd fails if /bin/sh is not bash on line 39

elif [ "${@: -1}" = -v ]



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_UY.UTF-8, LC_CTYPE=es_UY.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
*** bd.orig	2016-10-19 13:22:02.361683645 -0300
--- bd	2016-10-19 13:22:18.265769346 -0300
***
*** 36,42 
  if [ $# -eq 0 ]
  then
usage_error
! elif [ "${@: -1}" = -v ]
  then
usage_error
  else
--- 36,42 
  if [ $# -eq 0 ]
  then
usage_error
! elif [ "${@}" = -v -o "${@}" = "" ]
  then
usage_error
  else