[oe-commits] Florian Boor : qt-4.7.3.inc: Rename all binaries instead of qtdemo only
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 27 16:04:21 UTC 2012
Module: openembedded.git
Branch: master
Commit: 02a8bddaf70e36486eb2f324b8726219d6e6dbf0
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=02a8bddaf70e36486eb2f324b8726219d6e6dbf0
Author: Florian Boor <florian.boor at kernelconcepts.de>
Date: Wed Dec 21 17:19:31 2011 +0100
qt-4.7.3.inc: Rename all binaries instead of qtdemo only
In order to allow both Qt/X11 and Qt/E installed on one
system it is required to have unique names for the
installed binaries (useful e.g. for toolchains)
Signed-off-by: Florian Boor <florian.boor at kernelconcepts.de>
---
recipes/qt4/qt-4.7.3.inc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes/qt4/qt-4.7.3.inc b/recipes/qt4/qt-4.7.3.inc
index b29d892..1430416 100644
--- a/recipes/qt4/qt-4.7.3.inc
+++ b/recipes/qt4/qt-4.7.3.inc
@@ -49,10 +49,10 @@ do_install_append() {
install -m 0755 ${S}/bin/$i ${D}${bindir}/
done
- #Append an E to the qtdemo file
- if [ -n "${QT_LIBINFIX}" ] ; then
- mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
- fi
+ cd ${D}/${bindir}
+ for f in `ls | grep -v -E "*${QT_LIBINFIX}" | grep -v ${QT_DIR_NAME}`; do
+ mv ${f} ${f}${QT_LIBINFIX};
+ done
}
SRC_URI[md5sum] = "49b96eefb1224cc529af6fe5608654fe"
More information about the Openembedded-commits
mailing list