summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorIsmael Luceno2017-12-22 03:22:52 -0300
committerIsmael Luceno2017-12-22 03:22:55 -0300
commit91c495172f45c66b492732434a125b564e4f5492 (patch)
treec2582ccc1054223257d050fe67c6150f62631d2f /FUNCTIONS
parentdb09a6e8eef94bbdcabf334df43c134b54c2be40 (diff)
FUNCTIONS: Generalize qt[45]_build install dir
Take the installation directory as first argument.
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS4
1 files changed, 2 insertions, 2 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 30a1d3de6d..fc2bd214b2 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -17,7 +17,7 @@ qt5_build() {
function qt5_cmake_build() {
PATH="$QT5DIR/bin/:$PATH"
export PKG_CONFIG_PATH="$QT5DIR/lib/pkgconfig"
- cmake_build $QT5DIR
+ cmake_build ${1-$QT5DIR}
}
@@ -605,7 +605,7 @@ function cmake_install() {
qt4_cmake_build() {
PATH="$QT4DIR/bin/:$PATH"
export PKG_CONFIG_PATH="$QT4DIR/lib/pkgconfig"
- cmake_build $QT4DIR
+ cmake_build ${1-$QT4DIR}
}
qt4_build() {