[OE-core] [PATCH] dbus 1.4.1: create UUIDDIR in postinst

Phil Blundell pb at pbcl.net
Fri May 27 13:47:17 UTC 2011


On Fri, 2011-05-27 at 15:40 +0200, Koen Kooi wrote:
> +	mkdir -p $UUIDDIR || true

Why "|| true"?  If this creation fails then the following chown will
surely fail as well, except with a different and less illuminating error
message.

> +     chown "$MESSAGEUSER"."$MESSAGEUSER" "$UUIDDIR"

The dot syntax is nonstandard and obsolescent.  It would be better to
use ":" there.

p.






More information about the Openembedded-core mailing list