Commit 07f1aafa authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Fixes: Startup wrapper when Creator in directory with spaces.

Bug reported and fix suggested by catanzag on Qt Labs blog. Thanks!

Reviewed By: Thorbjorn Lindeijer <thorbjorn.lindeijer@nokia.com>
parent f0794bd0
#!/bin/sh
bindir=$(dirname $(readlink -nf $0))
bindir=$(dirname "$(readlink -nf $0)")
if test "$(uname -m)" = "x86_64" ; then
libdir=$(cd ${bindir}/../lib64 ; pwd)
libdir=$(cd "${bindir}/../lib64" ; pwd)
else
libdir=$(cd ${bindir}/../lib ; pwd)
libdir=$(cd "${bindir}/../lib" ; pwd)
fi
LD_LIBRARY_PATH="${libdir}/qtcreator:${LD_LIBRARY_PATH}" exec "${bindir}/qtcreator.bin" ${1+"$@"}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment