Fix whitespace in Windows OS line

This commit is contained in:
Dylan Araps 2016-06-12 10:18:35 +10:00
parent d5fbd1f1ee
commit f18c315697

View file

@ -538,7 +538,7 @@ getdistro () {
distro=${distro/Microsoft }
;;
esac
distro=${distro//+( )/ }
distro="${distro%"${distro##*[![:space:]]}"}"
# Get architecture
[ "$os_arch" == "on" ] && \