Bug 239741 - Unnecessary dependency on /bin/csh
Summary: Unnecessary dependency on /bin/csh
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mtools
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-10 21:16 UTC by Matěj Cepl
Modified: 2018-04-11 07:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-14 14:52:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rewrite of the script to /bin/sh (3.02 KB, text/plain)
2007-05-10 21:16 UTC, Matěj Cepl
no flags Details
POSIX-compliant version of the script (1.89 KB, application/x-shellscript)
2007-05-11 15:45 UTC, Matěj Cepl
no flags Details

Description Matěj Cepl 2007-05-10 21:16:06 UTC
Description of problem:
Hi,

following discussion on memo-list about dependencies, I have discovered that
/bin/csh (and thus whole tcsh package) is brought to my system just by
/usr/bin/amuFormat.sh which for reasons mysterious to me requires /bin/csh. Just
for kicks I have rewrote the script to /bin/sh script (I hope I haven't left
there some bashism). Totally untested, but I don't think there should be any
problem.

Version-Release number of selected component (if applicable):
mtools-3.9.10-2.fc6

How reproducible:
100%

Steps to Reproduce:
1. rpm -q --whatrequires /bin/csh
2. cd /usr/bin;grep '/bin/csh' * 2>/dev/null

Comment 1 Matěj Cepl 2007-05-10 21:16:06 UTC
Created attachment 154500 [details]
rewrite of the script to /bin/sh

Comment 2 Adam Tkac 2007-05-11 08:56:31 UTC
Script looks fine

-A-

Comment 3 Matěj Cepl 2007-05-11 15:45:27 UTC
Created attachment 154552 [details]
POSIX-compliant version of the script

Version rewritten (mostly by Stepan Kasal) to be (at least) POSIX compliant.


Note You need to log in before you can comment on or make changes to this bug.