diff options
Diffstat (limited to 'tools/sed-variables')
-rw-r--r-- | tools/sed-variables | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/sed-variables b/tools/sed-variables index 3f11c67..36c612f 100644 --- a/tools/sed-variables +++ b/tools/sed-variables @@ -1 +1,2 @@ -s/(EAPI\s+extern\s+\w+\s+\*?\w+\s*;).*$/\1/p +# variable should be EAPI extern word word;; +s/^\s*(EAPI\s+extern\s+\w+\s+\*?\w+\s*;).*$/\1/p |