Explorar el Código

swupdate: fix web-app install from last commit

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic hace 7 años
padre
commit
370b4d211c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      recipes-support/swupdate/swupdate.inc

+ 1 - 1
recipes-support/swupdate/swupdate.inc

@@ -114,7 +114,7 @@ do_install () {
   install -m 0755 swupdate ${D}${bindir}/
 
   install -m 0755 -d ${D}/www
-  if [ x${SWUPDATE_WWW} == "xwebapp" ];then
+  if [ -d ${S}/web-app ];then
 	cp -R --no-dereference --preserve=mode,links -v ${S}examples/www/v2/* ${D}/www
   else
 	install -m 0755 ${S}www/* ${D}/www