[Debian-med-packaging] Bug#535875: libvolpack1-dev: bashism in /bin/sh script

Nelson A. de Oliveira naoliv at gmail.com
Fri Oct 2 13:35:14 UTC 2009


Hi!

On Fri, Oct 2, 2009 at 2:38 AM, Andreas Tille <andreas at an3as.eu> wrote:
> So the fix for this would probably be
>
> if [ -x /usr/bin/time ] ; then
>   TIME="time"
> else
>   TIME=""
> fi
> echo "*** makevolume ***"
> $TIME makevolume
> echo "*** rendervolume ***"
> $TIME rendervolume
> ...

Can't we just change the header to use bash and let it use "time" as
before? It's a test script (they can be bash scripts without any
problems) and not an init script, for example.

Best regards,
Nelson





More information about the Debian-med-packaging mailing list