summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt-4.6.2.inc
diff options
context:
space:
mode:
authorMarco Cavallini <m.cavallini@koansoftware.com>2010-06-09 16:46:37 +0200
committerMarco Cavallini <m.cavallini@koansoftware.com>2010-06-09 16:49:53 +0200
commit05592a82743534fe419556bdf9cc49416ed39e78 (patch)
tree8d1c729e6f37fe5eb21d37aede8c44c5de31802e /recipes/qt4/qt-4.6.2.inc
parentabb60bbc4007efb047a420d56f69ca9ce31e4406 (diff)
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
Diffstat (limited to 'recipes/qt4/qt-4.6.2.inc')
-rw-r--r--recipes/qt4/qt-4.6.2.inc4
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 4a9f077aea..c4c86d23ac 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"