summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDirk2012-05-27 22:00:01 +0200
committerDirk2012-05-27 22:00:01 +0200
commit750827283216379984d84447907ede075e2bc9f6 (patch)
treef6028dc20d340da4fc836204988fbe60ade7e10b /tools
parentfix for rlt8169 firmware (diff)
downloadcore-750827283216379984d84447907ede075e2bc9f6.tar.gz
core-750827283216379984d84447907ede075e2bc9f6.tar.xz
core-750827283216379984d84447907ede075e2bc9f6.zip
Should fix complaints on "binary operator expected" (as $DISTRO was not "suse" but "suse linux")
Diffstat (limited to 'tools')
-rwxr-xr-xtools/installer2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/installer b/tools/installer
index 27ca86bf..f6f4201a 100755
--- a/tools/installer
+++ b/tools/installer
@@ -12,7 +12,7 @@ fi;
# determin distribution
if [ ! -z $(which lsb_release) ]; then
- DISTRO=$(lsb_release -i| sed 's/^[^:]*:\t//' | tr '[:upper:]' '[:lower:]')
+ DISTRO=$(lsb_release -i| sed 's/^[^:]*:\t//;s/ .*//' | tr '[:upper:]' '[:lower:]')
else
# Can't determin distro version..
DISTRO=""