On Sun, Jun 29, 2008 at 02:49:55PM +0200, Petr Sobotka wrote:
> Can you please let me know what is wrong with this script?
> [ ... ]
> pkgsend add set name=summary value='Opensource binary diff'
I think this line is problematic. First, single quotes aren't recognized
by the parser -- they'll have to be double quotes. Second, you need to
make sure that the quotes make it past the shell -- right now, it'll strip
them. So you probably need to say
pkgsend [ ... ] value='"Opensource binary diff"'
but I haven't actually tried that, so ymmv.
> When I execute it I got this error:
> $ /tmp/script.sh
> Failed with 500
>
> Which is at least from my point of view totally useless error message.
Yup, it could be more useful. Feel free to file a bug. But it indicates
that the server's response to the close failed to send back any HTTP
headers (a 500 HTTP code isn't necessarily what happened, but it's likely),
so look at the server log for more information. There may be a bug there
we want to fix as well.
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss