diff options
author | Ismael Luceno | 2017-12-22 03:22:52 -0300 |
---|---|---|
committer | Ismael Luceno | 2017-12-22 03:22:55 -0300 |
commit | 91c495172f45c66b492732434a125b564e4f5492 (patch) | |
tree | c2582ccc1054223257d050fe67c6150f62631d2f /FUNCTIONS | |
parent | db09a6e8eef94bbdcabf334df43c134b54c2be40 (diff) |
FUNCTIONS: Generalize qt[45]_build install dir
Take the installation directory as first argument.
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |