~timo-jyrinki/ubuntu-ui-toolkit/test_jenkins_3_fail

1716.6.1 by Christian Dywan
Enable gallery target in qmake
1
#!/bin/bash
159.2.1 by Juhapekka Piiroinen
added script to check license
2
#
1392.1.3 by Christian Dywan
Update copyrights to 2015
3
# Copyright 2012 - 2015 Canonical Ltd.
159.2.1 by Juhapekka Piiroinen
added script to check license
4
#
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU Lesser General Public License as published by
7
# the Free Software Foundation; version 3.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU Lesser General Public License for more details.
13
#
14
# You should have received a copy of the GNU Lesser General Public License
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
#
17
1761.1.1 by Christian Dywan
Don't exit, return 1 from export_modules_dir.sh
18
. `dirname ${BASH_SOURCE[0]}`/build_paths.inc || return 1
1504.7.3 by Benjamin Zeller
Create docs again
19
export QML_IMPORT_PATH=$BUILD_DIR/qml
20
export QML2_IMPORT_PATH=$BUILD_DIR/qml
21
export UBUNTU_UI_TOOLKIT_THEMES_PATH=$BUILD_DIR/qml
1693.5.3 by Benjamin Zeller
Set LD_LIBRARY_PATH correctly
22
export LD_LIBRARY_PATH=$BUILD_DIR/lib
1504.7.3 by Benjamin Zeller
Create docs again
23
/sbin/initctl set-env --global QML_IMPORT_PATH=$BUILD_DIR/qml
24
/sbin/initctl set-env --global QML2_IMPORT_PATH=$BUILD_DIR/qml
25
/sbin/initctl set-env --global UBUNTU_UI_TOOLKIT_THEMES_PATH=$BUILD_DIR/qml
1693.5.3 by Benjamin Zeller
Set LD_LIBRARY_PATH correctly
26
/sbin/initctl set-env --global LD_LIBRARY_PATH=$BUILD_DIR/lib