build_inf_prepare_jenkins: fix for lighttpd

Issue-ID: INF-274

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I28e87d986cfc0d6b947964e459f62c67ae0bd3a2
diff --git a/scripts/build_inf_centos/build_inf_prepare_jenkins.sh b/scripts/build_inf_centos/build_inf_prepare_jenkins.sh
index 670cbb5..4f6c9ce 100755
--- a/scripts/build_inf_centos/build_inf_prepare_jenkins.sh
+++ b/scripts/build_inf_centos/build_inf_prepare_jenkins.sh
@@ -255,7 +255,7 @@
 sudo ln -s ${LOCALDISK}/loadbuild /www/root/htdocs/localdisk/loadbuild
 sudo ln -s ${MIRROR_DIR}/CentOS /www/root/htdocs/CentOS
 sudo ln -s ${LOCALDISK}/designer /www/root/htdocs/localdisk/designer
-sudo ln -s ${WORKSPACE} /www/root/htdocs/workspace
+sudo ln -s ${WORKSPACE} /www/root/htdocs/${WORKSPACE}
 
 # lighthttpd setup
 # chmod for /var/log/lighttpd fixes a centos issue
@@ -287,6 +287,9 @@
 
 sudo /usr/sbin/lighttpd  -f /etc/lighttpd/lighttpd.conf
 
+ps -ef|grep lighttpd || true
+curl 127.0.0.1:8088${WORKSPACE} || true
+
 sudo chmod a+x /usr/local/bin/*
 
 # Customizations for mirror creation