myunity team mailing list archive
-
myunity team
-
Mailing list archive
-
Message #00435
[Bug 999771] Re: myunity incorrectly parses lsb-release
correction:
SHELL "source /etc/lsb-release; echo -n $DISTRIB_RELEASE" to Uversion
The -n is needed to prevent Uversion having a newline at the end of it.
--
You received this bug notification because you are a member of MyUnity
team, which is subscribed to MyUnity.
https://bugs.launchpad.net/bugs/999771
Title:
myunity incorrectly parses lsb-release
Status in MyUnity:
New
Bug description:
myunity incorrectly parses the lsb-release file in Main.module. It makes assumptions about the order of lines. Since lsb-release is a list of shell variables which can be sourced by other programs, perhaps it would be better to use the shell to parse it, rather than just cat it. Something more like:
SHELL "source /etc/lsb-release; echo $DISTRIB_RELEASE" to Uversion
To manage notifications about this bug go to:
https://bugs.launchpad.net/myunity/+bug/999771/+subscriptions
References