[oe-commits] Marco Cavallini : qt-4.6.2.inc: solved a bug when trying to append an empty string to the qtdemo file when building Qt /X11 (QT != Qt/E)

git version control git at git.openembedded.org
Wed Jun 9 14:42:50 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 05592a82743534fe419556bdf9cc49416ed39e78
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=05592a82743534fe419556bdf9cc49416ed39e78

Author: Marco Cavallini <m.cavallini at koansoftware.com>
Date:   Wed Jun  9 16:46:37 2010 +0200

qt-4.6.2.inc: solved a bug when trying to append an empty string to the qtdemo file when building Qt/X11 (QT != Qt/E)

 * Now checking if [ -n ${QT_LIBINFIX} ] before mv qtdemo

---

 recipes/qt4/qt-4.6.2.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/qt4/qt-4.6.2.inc b/recipes/qt4/qt-4.6.2.inc
index 4a9f077..c4c86d2 100644
--- a/recipes/qt4/qt-4.6.2.inc
+++ b/recipes/qt4/qt-4.6.2.inc
@@ -59,7 +59,9 @@ do_install_append() {
 	done
 
 	#Append an E to the qtdemo file
-	mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
+	if [ -n "${QT_LIBINFIX}" ] ; then
+		mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
+	fi
 }
 
 LICENSE = "LGPLv2.1 GPLv3"





More information about the Openembedded-commits mailing list