[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hobbit client cosmetic bug
- To: hobbit (at) hswn.dk
- Subject: Hobbit client cosmetic bug
- From: "Peter Welter" <peter.welter (at) gmail.com>
- Date: Wed, 18 Apr 2007 10:57:54 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=oOMZ39OiVeP02tD2YR/K6h1YFEhc7oE5V4qxnkJck6Miq8apTAKgHXCDbcMA8Da8GlqVE7W3P85gEYgLtHIky2Ue+dRtf4iDBXUWmfpa45j28h2HlFxfCgupevNvnePoPRD7GO8sHXJQm7pWeLivju53ezp1/l50T4xwTCDaugE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DY4sAfXo4dv200SAH24hTYusgQJawlMcIkM9L+JTPpodZPXBCtC+6Hnu9g03VjR8sTu9tcrXIvNjGA+dvkNFp/zrBlKeHblTvI/ol9lgxBXekPOnAErgdEpD8Q67VxomfJfrZ2emzkFIi1m3GlR/LvNWHbwPaN+rcDnSMdKX2dM=
Hello Henrik,
In Hobbit 4.2 there is a comestic bug in ~hobbit/client/bin/hobbitclient-
linux.sh.
This script parses on what Linux-release Hobbit is running.
echo "[osversion]"
...[snip]...
elif [ -f /etc/SuSE-release ]; then
grep ^SuSE /etc/SuSE-release
...[snip]...
This produces the right output on Suse 9.1:
SuSE Linux 9.1 (i586)
VERSION = 9.1
But on SLES9, the file contains SUSE in uppercase.
# cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
Of course this can easily be solved with a grep -i.
Regards,
Peter