[DRBD-user] [0.6.13] [PATCH] scripts/drbd incompatibilities with bash >= 3.0 and lintian

Lars Ellenberg Lars.Ellenberg at linbit.com
Sun Oct 10 22:28:43 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2004-10-10 21:04:46 +0200
\ Cyril Bouthors:
> Hi,
> 
> I have several problems with scripts/drbd from drbd-0.6.13:
> 
>  - In order to be used with bash >= 3.0, the following patch needs to
>    be applied, cf scripts-drbd-bash-3.0.patch in attachement;

I don't really care, but what does ${BASH_VERSINFO[*]} look like
in bash 3.0 ?

>  - it fails with "bash -n" for several reasons I'm not able to fix at
>    least at lines 108, 532, 560, 806 and 1458, always in "case"
>    statements.  It would be nice to fix it in order to prevent lintian
>    from failing with the error shell-script-fails-syntax-check when
>    checking the Debian package.

bash -n -O extglob drbd

 :-)

	lge



More information about the drbd-user mailing list