summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-09-05 07:47:06 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-09-05 07:47:06 +0100
commit64a1cb1454d8dc4bc1fb92e4cd3f74d351ecb7ac (patch)
tree080435e431ff1cc32e38da75228850b367d2bd07
parentgcc-config: tweak comment around 'gsed' use. (diff)
downloadgcc-config-64a1cb1454d8dc4bc1fb92e4cd3f74d351ecb7ac.tar.gz
gcc-config-64a1cb1454d8dc4bc1fb92e4cd3f74d351ecb7ac.tar.bz2
gcc-config-64a1cb1454d8dc4bc1fb92e4cd3f74d351ecb7ac.zip
gcc-config: update comment about env.d format
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xgcc-config6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc-config b/gcc-config
index 2f5c34f..762695f 100755
--- a/gcc-config
+++ b/gcc-config
@@ -2,9 +2,9 @@
# Copyright 2002-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Format of /etc/env.d/gcc/:
-# config-TARGET: CURRENT=version for TARGET
-# TARGET-VER: has a TARGET and VER variable
+# Format of /etc/env.d/gcc/ contents:
+# config-<TARGET>: CURRENT=<TARGET>-<VER>
+# <TARGET>-<VER>: has gcc-specific variables (provided by sys-devel/gcc)
: ${ROOT:=/}
[[ ${ROOT} != */ ]] && ROOT="${ROOT}/"