[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: SPM 0.3.0
From: |
Jeff Teunissen |
Subject: |
Re: ANN: SPM 0.3.0 |
Date: |
Fri, 02 Nov 2001 17:57:55 -0500 |
Björn Gohla wrote:
> On Friday 02 November 2001 12:51, Dennis Leeuw wrote:
> > Could people with other Linux distributions/versions check to see if
> > the dependencies are resolved correctly? If all functions well on
> > their systems, you might want to check the /etc/SPM/spm.conf file to
> > make sure all commands are in the same place my Slackware system has
> > them.
> >
> > And could people with non-Linux systems (but still Unix-type systems)
> > see if the scripts function on their system, you need bash installed
> > first, or you could change the #!/bin/bash, with something like
> > #!/bin/sh in all scripts in /usr/sbin/SPM
>
> is it not recommended to use /bin/sh as the interpreter for bourne shell
> scripts? i am not absolutely sure, but as far as i know on bsd systems
> there are two different bourne shells, /bin/bash being the full featured
> version and /bin/sh without special interactive features. on linux
> /bin/sh ist just a link to /bin/bash. so why not just say /bin/sh and be
> done with it.
Even on Linux, /bin/sh isn't always bash -- and if you're using bashisms,
you'd better not be using /bin/sh or you will be harmed, and you will have
deserved it. :)
#! /usr/bin/env bash
should do the job.
--
| Jeff Teunissen -=- Pres., Dusk To Dawn Computing -=- deek @ d2dc.net
| GPG: 1024D/9840105A 7102 808A 7733 C2F3 097B 161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project http://www.quakeforge.net/
| Specializing in Debian GNU/Linux http://www.d2dc.net/~deek/