|
From: Murray T. <mtr...@ce...> - 2005-02-08 04:29:05
|
On Tue, 2005-02-08 at 08:38, Jamie Cameron wrote:
> Craig White wrote ..
> > trying to make use of the 'script to run' feature and I'm not getting
> > it.
> >
> > contents of script is...
> >
> > #!/bin/sh
> > mysql horde < INSERT INTO horde_prefs VALUES \
> > ('{USER}','ingo','rules','long-string of data')
> >
> > and I'm not getting a variable substitution for {USER}, only the
> > literal.
> >
> > I tried double quotes
> >
> > Suggestions?
>
> You should use $USERADMIN_USER instead of {USER}.
>
> - Jamie
>
I made the script to run contain "env > /tmp/env.txt" so I could see all
the variables the module uses.
Murray
|