[ale] Bash script help
Jim Seymour
bluejay at speedfactory.net
Tue Aug 22 13:17:31 EDT 2006
On Tue, 2006-08-22 at 07:36 -0400, James P. Kinney III wrote:
> On Tue, 2006-08-22 at 04:58 -0400, Jim Seymour wrote:
> > Okay, I am trying to build my own backup script and running into an
> > error trying to pipe mkisofs into cdrecord. I am getting a command not
> > found on the cdrecord part. This is a bash script and the problem line
> > is below.
> >
> > MKCD="mkisofs -J -R -V "$(date '+%a %F')" $TDIR$IBALL" | "cdrecord
> > blank=fast driveropts=singlesession,burnfree -"
> >
> > The MKCD is being called as a variable in the script. I have not benn
> > able to find out why the pipe fails. Ideas?
>
> I have found that always using a defined PATH statement or explicit
> command paths is essential. Basically, cdrecord is not in the PATH for
> the environment running the script.
> >
Thanks to all,
It is a busy morning around here and I will begin trying the suggestions
later on today.
Again, Thanks All,
--
Jim Seymour <bluejay at speedfactory.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list