1 |
commit: d698117fad62162cec3c8812b28e5848fcb07601 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 5 06:42:08 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 5 06:42:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=d698117f |
7 |
|
8 |
gcc-config: tweak comment around 'gsed' use. |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
gcc-config | 4 +--- |
13 |
1 file changed, 1 insertion(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/gcc-config b/gcc-config |
16 |
index 34ff3e0..2f5c34f 100755 |
17 |
--- a/gcc-config |
18 |
+++ b/gcc-config |
19 |
@@ -28,9 +28,7 @@ has() { [[ " ${*:2} " == *" $1 "* ]]; } |
20 |
die() { eerror "${argv0}: $*"; exit 1; } |
21 |
umask 022 |
22 |
|
23 |
-# *BSD are plain stupid ... copy a GNU extension but don't just copy it, |
24 |
-# change it so it works differently. Wish Darwin did selective evolution |
25 |
-# on software developers. |
26 |
+# *BSD sed does not work as-is, use GNU sed. TODO: find details. |
27 |
SED=$(type -P gsed) |
28 |
: ${SED:=$(type -P sed)} |