~ chicken-core (chicken-5) beb973155d6340c96d2742bc8b057084b85abf82


commit beb973155d6340c96d2742bc8b057084b85abf82
Author:     Evan Hanson <evhan@foldling.org>
AuthorDate: Tue Sep 12 17:18:31 2017 +1200
Commit:     Evan Hanson <evhan@foldling.org>
CommitDate: Tue Sep 12 17:07:32 2017 +1200

    Escape "c++" regex in custom install command prefix handling

diff --git a/egg-compile.scm b/egg-compile.scm
index 4b6e0449..b10f764c 100644
--- a/egg-compile.scm
+++ b/egg-compile.scm
@@ -834,6 +834,6 @@ EOF
          (lambda (m) (string-append default-csc (irregex-match-substring m 1))))
         ((irregex-match "^cc( .+)$" cmd) =>
          (lambda (m) (string-append default-cc (irregex-match-substring m 1))))
-        ((irregex-match "^c++( .+)$" cmd) =>
+        ((irregex-match "^c\\+\\+( .+)$" cmd) =>
          (lambda (m) (string-append default-cxx (irregex-match-substring m 1))))
         (else cmd)))
Trap