diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2009-05-17 14:16:54 +0200 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2009-05-17 14:16:54 +0200 |
commit | cfce543560da9012865b888402acf62179d32401 (patch) | |
tree | 2b7136be7f7ba323d99e7f9d1bd8b75ef3502efd /recipes | |
parent | 2717d679f8a247c617a0b79f62a3e98bd5c1c1cc (diff) | |
download | openembedded-cfce543560da9012865b888402acf62179d32401.tar.gz |
scim: replace "sed;mv" with "sed -i"
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/scim/scim.inc | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/recipes/scim/scim.inc b/recipes/scim/scim.inc index 5b1690a54a..088179fb2c 100644 --- a/recipes/scim/scim.inc +++ b/recipes/scim/scim.inc @@ -24,12 +24,9 @@ do_configure_append () { cd ${S}/po SEDR=`ls *.gmo -1 --color=none | sed 's/.gmo//' | tr '\n' ' '` SEDL='@ALL_LINGUAS@' - sed "s/${SEDL}.*/${SEDR}/" Makefile.in.in > Mii.tmp - sed "s/${SEDL}.*/${SEDR}/" Makefile.in > Mi.tmp - sed "s/${SEDL}.*/${SEDR}/" Makefile > M.tmp - mv Mii.tmp Makefile.in.in - mv Mi.tmp Makefile.in - mv M.tmp Makefile + sed -i "s/${SEDL}.*/${SEDR}/" Makefile.in.in + sed -i "s/${SEDL}.*/${SEDR}/" Makefile.in + sed -i "s/${SEDL}.*/${SEDR}/" Makefile # Fix unset @INTLTOOL_LIBDIR@ # Only needed for a check to see if charmap.alias is present, @@ -37,19 +34,15 @@ do_configure_append () { # in ${S} cd ${S} - sed 's/@INTLTOOL_LIBDIR@/./' intltool-merge.in > Ii.tmp - sed 's/@INTLTOOL_LIBDIR@/./' intltool-merge > I.tmp - mv Ii.tmp intltool-merge.in - mv I.tmp intltool-merge + sed -i 's/@INTLTOOL_LIBDIR@/./' intltool-merge.in + sed -i 's/@INTLTOOL_LIBDIR@/./' intltool-merge # Fix unset @GTK_LIBDIR@ # This is the same as ${libdir} so we use that cd ${S}/extras/gtk2_immodule - sed 's/@GTK_LIBDIR@/$(libdir)/g' Makefile.in > Mi.tmp - sed 's/@GTK_LIBDIR@/$(libdir)/g' Makefile.am > Ma.tmp - mv Mi.tmp Makefile.in - mv Ma.tmp Makefile.am + sed -i 's/@GTK_LIBDIR@/$(libdir)/g' Makefile.in + sed -i 's/@GTK_LIBDIR@/$(libdir)/g' Makefile.am } pkg_postinst_${PN} () { |