Merge pull request #194 from rasa/rasa/remove-quotes-from-distro

This commit is contained in:
Tim Byrne 2020-01-14 07:14:04 -06:00
commit 4546636336
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 1 additions and 0 deletions

1
yadm
View File

@ -1300,6 +1300,7 @@ function query_distro() {
while IFS='' read -r line || [ -n "$line" ]; do
if [[ "$line" = ID=* ]]; then
distro="${line#ID=}"
distro="${distro//\"}"
break
fi
done < "$OS_RELEASE"