Date: Fri, 2 Oct 2009 09:30:06 GMT From: dfilter@FreeBSD.org (dfilter service) To: freebsd-standards@FreeBSD.org Subject: Re: standards/129554: commit references a PR Message-ID: <200910020930.n929U6K3033019@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/129554; it has been noted by GNATS. From: dfilter@FreeBSD.org (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: standards/129554: commit references a PR Date: Tue, 29 Sep 2009 21:29:20 +0000 (UTC) Author: jilles Date: Tue Sep 29 21:28:32 2009 New Revision: 197625 URL: http://svn.freebsd.org/changeset/base/197625 Log: Fix using lp(1) without the new -t option after r194171. PR: standards/129554 Tested by: Steve Kargl MFC after: 1 week Modified: head/usr.sbin/lpr/lp/lp.sh Modified: head/usr.sbin/lpr/lp/lp.sh ============================================================================== --- head/usr.sbin/lpr/lp/lp.sh Tue Sep 29 21:25:59 2009 (r197624) +++ head/usr.sbin/lpr/lp/lp.sh Tue Sep 29 21:28:32 2009 (r197625) @@ -70,7 +70,7 @@ do s) # (silent option) : ;; t) # title for banner page - title="-J${OPTARG}";; + title="${OPTARG}";; *) # (error msg printed by getopts) exit 2;; esac @@ -78,4 +78,4 @@ done shift $(($OPTIND - 1)) -exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} "${title}" "$@" +exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} ${title:+-J"${title}"} "$@" _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910020930.n929U6K3033019>