Bug 111865 - Script "paperconfig" installed by libpaper-1.1.14.3_1 invokes worng shell
Summary: Script "paperconfig" installed by libpaper-1.1.14.3_1 invokes worng shell
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Nottebrock
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 13:00 UTC by Fernando Herrero Carrón
Modified: 2007-04-19 17:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Herrero Carrón 2007-04-19 13:00:09 UTC
The "paperconfig" script installed with
libpaper-1.1.14.3_1 begins with the following line:

#! /bin/bash

Bash is not a system shell, so when calling the script an error
happens.

Fix: 

Replace the first line with:

#! /bin/sh
How-To-Repeat: Invoke from a shell:

$> paperconfig
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-04-19 13:04:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lofi

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-04-19 16:51:09 UTC
lofi        2007-04-19 15:51:02 UTC

  FreeBSD ports repository

  Modified files:
    print/libpaper       Makefile 
  Log:
  Don't try to use bash for scripts.
  
  PR:             ports/111865
  Submitted by:   Fernando Herrero Carrón <fhcarron@terra.es>
  
  Revision  Changes    Path
  1.10      +3 -1      ports/print/libpaper/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Michael Nottebrock freebsd_committer freebsd_triage 2007-04-19 16:51:21 UTC
State Changed
From-To: open->closed

Fixed, thanks for reporting!