qt-4.6.2.inc: solved a bug when trying to append an empty string to the qtdemo file...
authorMarco Cavallini <m.cavallini@koansoftware.com>
Wed, 9 Jun 2010 14:46:37 +0000 (16:46 +0200)
committerMarco Cavallini <m.cavallini@koansoftware.com>
Wed, 9 Jun 2010 14:49:53 +0000 (16:49 +0200)
 * Now checking if [ -n ${QT_LIBINFIX} ] before mv qtdemo

recipes/qt4/qt-4.6.2.inc

index 4a9f077..c4c86d2 100644 (file)
@@ -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"