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


>Number:         80461
>Category:       ports
>Synopsis:       The print/pdfjam port requires bash but invokes /bin/sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 29 17:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Bob Van Valzah
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
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


>Description:
	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."
>How-To-Repeat:
	echo "paper=letterpaper" > /usr/local/etc/pdfnup.conf
	pdfnup --help
	Note that defaults still specify paper=a4paper.
>Fix:
	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.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list