diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-03-09 11:11:01 +0100 |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-03-09 12:54:49 +0100 |
commit | ba511b473147da698bfe6b6163c2ddccdd6d8886 (patch) | |
tree | aafdae061b58d8ca80c10e8e49e8dc78473e3ba7 /bin | |
parent | 2780999d53206287ee1c586624637c82abde73eb (diff) | |
download | qt-creator-ba511b473147da698bfe6b6163c2ddccdd6d8886.tar.gz |
Fixes: don't override LD_LIBRARY_PATH, don't depend on /bin/bash
RevBy: hjk
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/qtcreator | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/qtcreator b/bin/qtcreator index 0b45ece230..931b3dd461 100755 --- a/bin/qtcreator +++ b/bin/qtcreator @@ -1,5 +1,5 @@ -#!/bin/bash +#!/bin/sh bindir=$(dirname "$0") libdir=$(cd ${bindir}/../lib ; pwd) -LD_LIBRARY_PATH="${libdir}" "${bindir}/qtcreator.bin" ${1+"$@"} +LD_LIBRARY_PATH="${libdir}:${LD_LIBRARY_PATH}" "${bindir}/qtcreator.bin" ${1+"$@"} |