diff options
Diffstat (limited to 'remote')
| -rwxr-xr-x | remote/setup_target | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target index 1b857eda..281f91bd 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -77,7 +77,8 @@ initial_checks () { ;; esac # Get version - we mangle this quite a bit. first make sure it has no spaces, then split version at period (.), underscore (_) and dash (-) - local VERSION=$(lsb_release -rs | tolower | sed -r 's/\s//g;s/[\._]/ /g;s/-//g') + SYS_VERSION=$(lsb_release -rs | tolower) + local VERSION=$(echo $SYS_VERSION | sed -r 's/\s//g;s/[\._]/ /g;s/-//g') local STRTMP="" PRINT_SYS_VERSIONS="*.conf.$SYS_DISTRIBUTION" SYS_VERSIONS="$SYS_DISTRIBUTION" |
