On 30-10-2012 18:50, Pontus Lurcock wrote:
On Tue 30 Oct 2012, Hans Hagen wrote:
FWIW, Debian and Ubuntu have a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice
hm, so i wonder why setuptex fails on that box then (not that i care much as i can set the path)
I was briefly confused as to why I (and other Ubuntu users) have never had a problem with setuptex... then I remembered that while sh links to dash (because it's fast), bash is still used explicitly as the default *login* shell (because it's featureful). So ‘source setuptex’ has always worked for me but would presumably give trouble in a non-login shell. Don't know how Debian does it.
It somehow also works for me (i occasionally use a xubuntu vm) using ". setuptex" but that doesn't seem to work from another script. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------