On Thu, Oct 25, 2001 at 02:28:09PM +0200, Emiel Metselaar wrote: > I was trying to print using lprng on a woody machine and it did not work. > After some poking around i found that in > /usr/share/lprngtool/ps-to-printer.fpi something did not work allright. > > It seems that the line "source ${SPOOLDIR}/postscript.cfg" does not > work. I am not much of a shell script expert, but that works under bash. > So changing the first line from: > "#!/bin/sh" > to > "#!/bin/bash" > Gives a workable sollution. My questions are now, is this regarded as a bug , > is it known and how does the sourcing in a sh script work?
Yes, 'source' is a bashism. It should be replaced by '.'. As for whether it's known, I don't see anything about it at http://bugs.debian.org/lprngtool, so you should probably report it. Cheers, -- Colin Watson [EMAIL PROTECTED]