[oe-commits] Tom Rini : i2c-tools: Don't use _ in regex, use #
git version control
git at git.openembedded.org
Wed Apr 28 17:10:45 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 31aa8d977dbc5503d9a122fe902334d5437921c7
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=31aa8d977dbc5503d9a122fe902334d5437921c7
Author: Tom Rini <tom_rini at mentor.com>
Date: Tue Apr 27 17:32:35 2010 -0700
i2c-tools: Don't use _ in regex, use #
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/i2c-tools/i2c-tools_3.0.1.bb | 4 ++--
recipes/i2c-tools/i2c-tools_3.0.2.bb | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes/i2c-tools/i2c-tools_3.0.1.bb b/recipes/i2c-tools/i2c-tools_3.0.1.bb
index 69fa3ed..69e0f53 100644
--- a/recipes/i2c-tools/i2c-tools_3.0.1.bb
+++ b/recipes/i2c-tools/i2c-tools_3.0.1.bb
@@ -7,8 +7,8 @@ SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2"
inherit autotools
do_compile_prepend() {
- sed -i 's_/usr/local_/usr_' Makefile
- sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+ sed -i 's#/usr/local#/usr#' Makefile
+ sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
}
SRC_URI[md5sum] = "0f5c7ce5fd3c65113909db0ef3a3a8c8"
diff --git a/recipes/i2c-tools/i2c-tools_3.0.2.bb b/recipes/i2c-tools/i2c-tools_3.0.2.bb
index bf792fb..61d1197 100644
--- a/recipes/i2c-tools/i2c-tools_3.0.2.bb
+++ b/recipes/i2c-tools/i2c-tools_3.0.2.bb
@@ -12,8 +12,8 @@ inherit autotools
do_compile_prepend() {
cp ${WORKDIR}/Module.mk ${S}/eepromer/
- sed -i 's_/usr/local_/usr_' Makefile
- sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+ sed -i 's#/usr/local#/usr#' Makefile
+ sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
echo "include eepromer/Module.mk" >> Makefile
}
More information about the Openembedded-commits
mailing list