Re: Install Q&A

Yiorgos Adamopoulos <[email protected]> Thu, 19 Jun 2008 09:54:43 +0300
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>

Caldwell, Cedric wrote:
> PROGNAME=`basename $0`
> 
> ##  Paths to programs.  CHOWN and WHOAMI are checked below.
> CHOWN=chown
> CHGRP=chgrp
> CHMOD=chmod
> CP=cp
> LN=ln
> MKDIR=mkdir
> MV=mv
> RM=rm
> STRIP=strip
> WHOAMI=whoami

No, the very first line of ./install.sh is:

#! /bin/sh

So I have to ask whether /bin/sh  is really there and not somewhere else 
on your system like /usr/bin/sh.

Next, I would check whether /bin/sh (which most probably exists) knows 
where basename is.

And there is this slight possibility that your shell does not like the 
space in the first line, and expects it like:

#!/bin/sh

-YA