commit: 9587a9bb7b728139ec85b126d7e19515c758f092
Author: Tomáš Chvátal <tomas.chvatal <AT> gmail <DOT> com>
AuthorDate: Thu Apr 26 09:02:10 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 09:02:10 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=9587a9bb
etc-update: filter quotes from OS_RELEASE_ID
bin/etc-update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/etc-update b/bin/etc-update
index fdf205a68..23903a105 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -32,7 +32,7 @@ get_config() {
"${PORTAGE_CONFIGROOT}"etc/etc-update.conf)
}
-OS_RELEASE_ID=$(cat /etc/os-release 2>/dev/null | grep '^ID=' | cut -d'=' -f2)
+OS_RELEASE_ID=$(cat /etc/os-release 2>/dev/null | grep '^ID=' | cut -d'=' -f2
| sed -e 's/"//g')
case $OS_RELEASE_ID in
suse|opensuse) OS_FAMILY='suse' NEW_EXT='rpmnew';;