From ba511b473147da698bfe6b6163c2ddccdd6d8886 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Mon, 9 Mar 2009 11:11:01 +0100 Subject: Fixes: don't override LD_LIBRARY_PATH, don't depend on /bin/bash RevBy: hjk --- bin/qtcreator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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+"$@"} -- cgit v1.2.3