summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-03-09 11:11:01 +0100
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-03-09 12:54:49 +0100
commitba511b473147da698bfe6b6163c2ddccdd6d8886 (patch)
treeaafdae061b58d8ca80c10e8e49e8dc78473e3ba7 /bin
parent2780999d53206287ee1c586624637c82abde73eb (diff)
downloadqt-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-xbin/qtcreator4
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+"$@"}