diff options
author | Tom Rini <tom_rini@mentor.com> | 2010-04-27 17:32:35 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2010-04-28 10:10:40 -0700 |
commit | 31aa8d977dbc5503d9a122fe902334d5437921c7 (patch) | |
tree | 65e4d45897e8c5b843418c9967f5098958cf5b14 /recipes/i2c-tools | |
parent | 79ec64232942ceec65237ed708b79c2f2ced6d67 (diff) |
i2c-tools: Don't use _ in regex, use #
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/i2c-tools')
-rw-r--r-- | recipes/i2c-tools/i2c-tools_3.0.1.bb | 4 | ||||
-rw-r--r-- | 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 69fa3edfe2..69e0f5302b 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 bf792fb976..61d119791f 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 } |