Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 12:10:47 -0500 (CDT)
From:      Bob Van Valzah <Bob@VanValzah.Com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/80461: The print/pdfjam port requires bash but invokes /bin/sh
Message-ID:  <200504291710.j3THAlEg024026@Day.29West.Com>
Resent-Message-ID: <200504291720.j3THK29t046886@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504291710.j3THAlEg024026>