Mathieu Masse <[EMAIL PROTECTED]> writes:

>     Now when I call this from a bash script it is also fine, my
> problem is that instead of passing fixed parameters to my script-fu
> script I want to pass bash variables, but I can't get this to work,
> I looked on the web and tried what people suggest but can't get it
> to work, please help.

I'd say your quoting is wrong. You can hardly expect nested single
ticks to work.

> gimp -d -i --verbose -b '(script-fu-add-text-weather-map '$fullpath'
> '$file' '$current_time')'

Try this instead:

gimp -d -i --verbose -b '(script-fu-add-text-weather-map "$fullpath"
"$file" "$current_time")'

Gimp-user mailing list

Reply via email to