Shorten the equals fix

This commit is contained in:
Dylan 2016-02-01 08:24:25 +11:00
parent e45664ae6d
commit 70e88727b6
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -403,7 +403,7 @@ case "$os" in
"Windows") "Windows")
distro="$(wmic os get Caption /value)" distro="$(wmic os get Caption /value)"
distro=${distro/Caption} distro=${distro/Caption}
distro=${distro/Caption\=} distro=${distro/'='}
distro=${distro//[[:space:]]/ } distro=${distro//[[:space:]]/ }
distro=${distro// } distro=${distro// }
distro=${distro/Microsoft } distro=${distro/Microsoft }