Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIlya Zverev <zverik@textual.ru>2016-10-03 20:39:21 +0300
committerIlya Zverev <zverik@textual.ru>2016-10-03 20:40:26 +0300
commite61c5e6f2c79bd34ff3e59fdb49ff7ac9264c219 (patch)
tree671776baffcf1d049a4fea6b70547bad7ed30d79 /tools
parent2721527bd6a6af5e06b84f19ce240a704982e83f (diff)
[build] Fixed paths in osrm build
Diffstat (limited to 'tools')
-rwxr-xr-xtools/unix/build_omim.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/unix/build_omim.sh b/tools/unix/build_omim.sh
index 7ff109011e..0ee6527b24 100755
--- a/tools/unix/build_omim.sh
+++ b/tools/unix/build_omim.sh
@@ -135,14 +135,13 @@ build_osrm()
mkdir -p "$OSRM_TARGET"
# First, build omim libraries
build_conf_osrm $OSRM_OMIM_CONF "$OSRM_TARGET/omim-build"
- OSRM_OMIM_LIBS="omim-build/out/$OSRM_OMIM_CONF"
+ OSRM_OMIM_LIBS="$(cd "$OSRM_TARGET/omim-build/out/$OSRM_OMIM_CONF"; pwd)"
(
cd "$OSRM_TARGET"
"$CMAKE" "-DBOOST_ROOT=$BOOST_PATH" -DCMAKE_BUILD_TYPE=$OSRM_CONF "-DOMIM_BUILD_PATH=$OSRM_OMIM_LIBS" "$BACKEND"
make clean
make
)
- rm -r "$OSRM_TARGET/$OSRM_OMIM_LIBS"
}
build()