On 3/22/07, John Oliver <[EMAIL PROTECTED]> wrote:
On Thu, Mar 22, 2007 at 11:32:51AM -0700, Carl Lowenstein wrote:
> On 3/22/07, John Oliver <[EMAIL PROTECTED]> wrote:
> >Part of an installation script:
> >
> >
> >For the case if $RHVERSION = "4", my dependencies are not being met
> >because there is a newer libgcc on an up-to-date RHEL4 system.  That
> >stops the whole rpm line.  So, I rewrote it as:
> >
> >
> >elif [ $RHVERSION = "4" ] ; then

> >        rpm -Uh --nosignature
> >$SOURCE_PATH/3RDPARTY/RHEL4/libgcc-3.4.5-2.i386.rpm &&

Repeat my observation:  if the two lines above are really two separate
lines, then to the best of my understanding of shell operation, the
"rpm" command never gets its argument, since the argument is on
another separate line.

I'm not questioning the three separate rpm commands.  Just checked the
"original post", the lines did not get broken by my newsreader.  If I
try something like this, I get

[EMAIL PROTECTED] ~]$ rpm -Uh --nosignature
rpm: no packages given for install

with no chance to specify $SOURCE_PATH or anything.

Maybe what you posted is not what you really are doing?  Just
different enough to confuse me.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to