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
diff options
context:
space:
mode:
Diffstat (limited to 'tools/autobuild/build.sh')
-rw-r--r--tools/autobuild/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/autobuild/build.sh b/tools/autobuild/build.sh
index 570b6bb72d..56ea2006e9 100644
--- a/tools/autobuild/build.sh
+++ b/tools/autobuild/build.sh
@@ -29,14 +29,14 @@ GetCPUCores() {
BuildQt() {
(
# set qmake path
- PATH="$(PrintQmakePath):$PATH" || ( echo "ERROR: qmake was not found, please add it to your PATH or into the tools/autobuild/detect_qmake.sh"; exit 1 )
+ QMAKE="$(PrintQmakePath)" || ( echo "ERROR: qmake was not found, please add it to your PATH or into the tools/autobuild/detect_qmake.sh"; exit 1 )
SHADOW_DIR="$1"
MKSPEC="$2"
QMAKE_PARAMS="$3"
mkdir -p "$SHADOW_DIR"
cd "$SHADOW_DIR"
- qmake -r "$QMAKE_PARAMS" -spec "$MKSPEC" "$LOCAL_DIRNAME/../../omim.pro"
+ "$QMAKE" -r "$QMAKE_PARAMS" -spec "$MKSPEC" "$LOCAL_DIRNAME/../../omim.pro"
# make clean > /dev/null || true
make -j $(GetCPUCores)
)