Fix leftover 'OSArchitecture' string

This commit is contained in:
Dylan 2016-02-01 08:42:12 +11:00
parent d7722a3b46
commit cec40577bf
1 changed files with 2 additions and 1 deletions

3
fetch
View File

@ -411,7 +411,8 @@ case "$os" in
distro+=" $(wmic os get OSArchitecture /value)"
# Strip crap from the output of wmic
distro=${distro//Caption'='}
distro=${distro/Caption'='}
distro=${distro/OSArchitecture'='}
distro=${distro//[[:space:]]/ }
distro=${distro// }
distro=${distro/Microsoft }