ports/80461: The print/pdfjam port requires bash but invokes /bin/sh
Bob Van Valzah
Bob at VanValzah.Com
Fri Apr 29 17:20:03 UTC 2005
>Synopsis: The print/pdfjam port requires bash but invokes /bin/sh
>Arrival-Date: Fri Apr 29 17:20:01 GMT 2005
>Originator: Bob Van Valzah
>Release: FreeBSD 5.3-STABLE i386
System: FreeBSD Day.29West.Com 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 16 17:00:38 CST 2005 bob at NetMon.PeoplesRC.Org:/usr/obj/usr/src/sys/NEWSNARK i386
The shell scripts included with the print/pdfjam port should be
configurable from /usr/local/etc/pdfnup.conf. They attempt to
source this and other files. They begin with #!/bin/sh which
runs them in a shell that uses . instead of "source."
echo "paper=letterpaper" > /usr/local/etc/pdfnup.conf
Note that defaults still specify paper=a4paper.
I just changed the scripts to run /usr/local/bin/bash and that seems
to work. But it might be better to make them . instead of
source. I just didn't take the time to look for any other
bash dependencies. I suppose that there might not be any.
More information about the freebsd-ports-bugs