Created attachment 19 [details] patch There are many bashisms and other nonportable shell features used in the various scripts in the slony tree. Most of them are easily fixable. In other cases, it might be easier to change #!/bin/sh to #!/bin/bash. I have attached a patch that should fix a number of those problems.
Thanks, Peter! It applied nicely against CVS HEAD, and I ran some of the regression tests successfully, so it seems safe enough to commit. I tried applying it to the 1.2 branch with less success; I think I'll leave this as a "HEAD enhancement," unless people have great objections... http://lists.slony.info/pipermail/slony1-commit/2008-July/002315.html http://lists.slony.info/pipermail/slony1-commit/2008-July/002316.html http://lists.slony.info/pipermail/slony1-commit/2008-July/002317.html http://lists.slony.info/pipermail/slony1-commit/2008-July/002318.html http://lists.slony.info/pipermail/slony1-commit/2008-July/002319.html