summaryrefslogtreecommitdiffstats
path: root/tools/functions.make
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-11-21 13:01:03 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-11-21 13:01:03 +0000
commit344ad683beb5dc8ee5f199920e913a7277cf5258 (patch)
tree9c6cb50e9a58c3131d6845054bdc554921fb6ccd /tools/functions.make
parentc0b43a5ac2fcda473800b9c9a4036c5348ac5084 (diff)
downloadrockbox-344ad683beb5dc8ee5f199920e913a7277cf5258.tar.gz
rockbox-344ad683beb5dc8ee5f199920e913a7277cf5258.zip
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
Diffstat (limited to 'tools/functions.make')
-rw-r--r--tools/functions.make2
1 files changed, 1 insertions, 1 deletions
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))