gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] <bug> shell scripts fail when /bin/sh <> /bin/bash


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] <bug> shell scripts fail when /bin/sh <> /bin/bash
Date: Fri, 1 Aug 2008 12:48:55 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Jul 31, 2008 at 07:04:24PM +0200, Jerzy Luszawski wrote:

> I tried to install gnumed on the fresh installation of Kubuntu 8.04 and was 
> caught by various syntax errors when executing scripts. It turned out that in 
> Kubuntu /bin/sh is linked to /bin/dash instead of /bin/bash as in many other 
> common distros. 
> I know that it doesn't mean the scripts are bad, but in my case they just 
> failed, and it took a while to guess why. 
> It is easy to avoid  by putting explicit reference to bash in the scripts 
> (#!/bin/bash). This could save some great deal of frustration for potential 
> users.
> Please consiter it.

Fixed in our shell scripts. I'd be happy to apply specific
patches you might come up with to remove bashisms from our
scripts.

Thanks for the report,
Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]