diff options
| author | Dirk | 2012-05-27 22:00:01 +0200 |
|---|---|---|
| committer | Dirk | 2012-05-27 22:00:01 +0200 |
| commit | 750827283216379984d84447907ede075e2bc9f6 (patch) | |
| tree | f6028dc20d340da4fc836204988fbe60ade7e10b /tools | |
| parent | fix for rlt8169 firmware (diff) | |
| download | core-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-x | tools/installer | 2 |
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="" |
