17 Apr
2011
17 Apr
'11
10:50 a.m.
On 04/17/2011 09:45 AM, Karl Ove Hufthammer wrote:
Sundag 17. april 2011 skreiv Mojca Miklavec:
Alan wrote me about the following issue. I don't know anything about bash/sh issues (except that sh is indeed more likely to be present and that I had to change many occurencies of /bin/sh to /bin/bash on garden because /bin/sh was a symlink to dash which didn't work). Does anyone object the change from bash to sh?
What you would want to do is change bash to sh, and ensure that all the scripts follows the POSIX standard 100%. Then it will work in both bash, dash, ksh and *any other* POSIX-compatible shells.
Everything except 'sh', then ? ;)