Re: [SLUG] Bash script

From: Bob Stia (rnr@sanctum.com)
Date: Wed May 25 2005 - 16:30:18 EDT


On Wednesday 25 May 2005 08:40, sean@hogston.com wrote:
> Quoting Bob Stia <rnr@sanctum.com>:
> > On Tuesday 24 May 2005 01:19, Paul M Foster wrote:
> > > On Thu, May 19, 2005 at 11:00:02PM -0400, Bob Stia wrote:
> > > > Hello Sluggers,
> > > >
> > > > What is wrong with this script??
> >
 ...........<snip some stuff>.............

> > > > echo Converting $i... with $CONVERT_OPTIONS
> > > > convert $CONVERT_OPTIONS $FROM_DIR/$i
> > > > $TO_DIR/${i%%$FROM}$TO echo
> > > > fi
> > > >
> > > > done;
> > > >
> > > > exit;
> > > > ---------------------------------------------------------------
> >
.........<snip script>............
> > Sean, running SuSE 9.2 Pro. Yes, my convert is at /usr/bin/convert
> > also.
> >
> ok I have one last thing to try and then i'm out of suggestions. for
> the convert line change it to be /usr/bin/convert instead of just
> convert. I suggest this only because it is using /bin/sh and MAYBE
> when the script is running it does not find the convert command. I
> have noticed this in some of my scripts so I usually make it a habbit
> to either put the full path to the command or set it as a variable.
> Sean

Sean,

OK, added /usr/bin/ in front of the convert line. Didn't help. Still
the same errors. Thanks for trying to help. If you can think of
anything else I am all ears.

Bob

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:14:28 EDT