summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-06-22 12:41:20 +0200
committerdt <qtc-committer@nokia.com>2010-06-22 12:47:04 +0200
commit2bd2373b38f4c45163c2e0d9056fa731d259699e (patch)
tree7cda3997e8935ad5547bbfeaf4d5e80f0593e147 /bin
parent123e2b6cce37baaafe15a877c6e3aedb9d1d6e95 (diff)
downloadqt-creator-2bd2373b38f4c45163c2e0d9056fa731d259699e.tar.gz
Remove LD_LIBRARY_PATH script.
Christian Kamm convinced me that it should not have any effect. Reviewed-By: ckamm Task-Nr: QTCREATORBUG-1646
Diffstat (limited to 'bin')
-rw-r--r--bin/bin.pro14
-rwxr-xr-xbin/qtcreator36
2 files changed, 0 insertions, 50 deletions
diff --git a/bin/bin.pro b/bin/bin.pro
deleted file mode 100644
index 959be0aedc..0000000000
--- a/bin/bin.pro
+++ /dev/null
@@ -1,14 +0,0 @@
-include(../qtcreator.pri)
-
-TEMPLATE = app
-TARGET = $$IDE_APP_WRAPPER
-OBJECTS_DIR =
-
-PRE_TARGETDEPS = $$PWD/qtcreator
-
-QMAKE_LINK = cp $$PWD/qtcreator $@ && : IGNORE REST
-
-QMAKE_CLEAN = $$IDE_APP_WRAPPER
-
-target.path = /bin
-INSTALLS += target
diff --git a/bin/qtcreator b/bin/qtcreator
deleted file mode 100755
index c9f51424fb..0000000000
--- a/bin/qtcreator
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-makeAbsolute() {
- case "$1" in
- /*)
- # already absolute, return it
- echo "$1"
- ;;
- *)
- # relative, prepend $2 made absolute
- echo `makeAbsolute "$2" "$PWD"`/"$1" | sed 's,/\.$,,'
- ;;
- esac
-}
-
-if test -L "$0"; then
- # Try readlink(1)
- readlink=`type readlink 2>/dev/null` || readlink=
- if test -n "$readlink"; then
- # We have readlink(1), so we can use it
- me=`readlink -nf "$0"`
- else
- # No readlink(1), so let's try ls -l
- me=`ls -l "$0" | sed 's/^.*-> //'`
- base=`dirname "$0"`
- me=`makeAbsolute "$me" "$base"`
- fi
-else
- me="$0"
-fi
-
-bindir=`dirname "$me"`
-libdir=`cd "${bindir}/../lib" ; pwd`
-LD_LIBRARY_PATH="${libdir}:${libdir}/qtcreator:${LD_LIBRARY_PATH}"
-export LD_LIBRARY_PATH
-exec "${bindir}/qtcreator.bin" ${1+"$@"}