From 344ad683beb5dc8ee5f199920e913a7277cf5258 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 21 Nov 2008 13:01:03 +0000 Subject: FS#9566: Change regex to make it work on old versions of sed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19166 a1c6a512-1295-4272-9138-f99709370657 --- tools/functions.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/functions.make b/tools/functions.make index bab8a8d148..dd87377f87 100644 --- a/tools/functions.make +++ b/tools/functions.make @@ -20,7 +20,7 @@ preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c -include config.h $(1) | \ grep -v '^\#' | \ - sed -e 's:^.\+:$(dir $(1))&:') + sed -e 's:^..*:$(dir $(1))&:') preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \ grep -v '^\#' | grep -v "^$$" > $(2)) -- cgit v1.2.3