From eaf9ee4f4c11550b3fd3476a6598dfcbf1f33498 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 25 Mar 2010 11:11:13 +0100 Subject: [PATCH] Fix sed usage on BSD-like systems (e.g. MacOS) --- handle_deps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle_deps b/handle_deps index b308d13f5..3c6f3c798 100755 --- a/handle_deps +++ b/handle_deps @@ -3,7 +3,7 @@ obj="$1" exitcode="$2" -dep="`echo "$obj" | sed -e 's:\.\(o\|gch\)$:.d:'`" +dep="`echo "$obj" | sed -E -e 's:\.(o|gch)$:.d:'`" test -f "$dep" || exit $exitcode test -f .deps && rm -f .deps