summaryrefslogtreecommitdiff
path: root/test/poi-service
diff options
context:
space:
mode:
author <philippe colliot>2016-01-28 14:44:41 +0100
committer <philippe colliot>2016-01-28 14:44:41 +0100
commit0970cb1d7f4e8eabc205434de070b704c632094d (patch)
tree8eafbbce3ae0883bad02486130c5ec2d86fba793 /test/poi-service
parent37e24439e27bea79d533bfd806d8e7f7cb95db83 (diff)
downloadpoi-service-0970cb1d7f4e8eabc205434de070b704c632094d.tar.gz
Fix of rebuild scripts
Diffstat (limited to 'test/poi-service')
-rwxr-xr-xtest/poi-service/rebuild_all.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/poi-service/rebuild_all.sh b/test/poi-service/rebuild_all.sh
index acf09ae..5e6127b 100755
--- a/test/poi-service/rebuild_all.sh
+++ b/test/poi-service/rebuild_all.sh
@@ -40,7 +40,16 @@ then
echo 'export COMMONAPI_DBUS_TOOL_DIR=<path>'
exit 1
fi
- commonapi_tools_option="-DCOMMONAPI_DBUS_TOOL_DIR="$COMMONAPI_DBUS_TOOL_DIR" -DCOMMONAPI_TOOL_DIR="$COMMONAPI_TOOL_DIR
+
+ if [ ! $DBUS_LIB_PATH ]
+ then
+ echo 'Set the dir of the patched dbus'
+ echo 'export DBUS_LIB_PATH=<path>'
+ exit 1
+ fi
+
+ commonapi_tools_option="-DDBUS_LIB_PATH="$DBUS_LIB_PATH" -DCOMMONAPI_DBUS_TOOL_DIR="$COMMONAPI_DBUS_TOOL_DIR" -DCOMMONAPI_TOOL_DIR="$COMMONAPI_TOOL_DIR
+
fi
echo 'build the poi server'