From aeb3a75e5c6e4a8f313dfd53ce0af46f07790c28 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 10 Aug 2022 16:28:29 +0100 Subject: [PATCH] chore(patch): minor simplification to libgccjit patches By matching more targeted sets of strings, it should hopefully make these patches more future-proof. --- build-emacs-for-macos | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-emacs-for-macos b/build-emacs-for-macos index 9e3374e..8a07cdb 100755 --- a/build-emacs-for-macos +++ b/build-emacs-for-macos @@ -675,8 +675,8 @@ class Build p << { replace: [ 'configure.ac', - 'grep libgccjit.so\$))"', - 'grep -E \'libgccjit\.(so|dylib)$\'))"' + 'grep libgccjit.so\$', + 'grep -E \'libgccjit\.(so|dylib)$\'' ], allow_failure: true } @@ -686,8 +686,8 @@ class Build p << { replace: [ 'configure.ac', - 'grep -E \'libgccjit\.(so|dylib)$\'))"', - 'grep -E \'libgccjit\.(so|dylib)$\' | tail -1))"' + 'grep -E \'libgccjit\.(so|dylib)$\'', + 'grep -E \'libgccjit\.(so|dylib)$\' | tail -1' ], allow_failure: true }