diff options
Diffstat (limited to 'run.sh.in')
-rwxr-xr-x | run.sh.in | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -8,6 +8,13 @@ # and related or neighboring rights to JSON-DBus-Bridge Demo Code. # +if [ ! -f "@abs_builddir@/web-gui/index.html" ]; then + echo + echo 'You must run "make" before running this script' + echo + exit 1 +fi + finish() { kill $hello_pid kill $calculator_pid @@ -30,7 +37,7 @@ echo -n "waiting for lighttpd " for i in `seq 10`; do sleep 1 echo -n "." - wget -e no_proxy=localhost -O - -q http://localhost:8080/hello-world/build/ > /dev/null && break + wget -e no_proxy=localhost -O - -q http://localhost:8080/ > /dev/null && break done if [ $? -ne 0 ]; then |