diff options
author | Timothy Pearson <[email protected]> | 2012-03-05 15:08:45 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-05 15:08:45 -0600 |
commit | d45b92156e2cf9b22c67e63642ae149c4c83c160 (patch) | |
tree | bfedcbc98296099e2aaa67d0b9c5da9550d13311 /starttde | |
parent | 696fe6318f5758b5a4aef724444bbf18b860469c (diff) | |
download | tdebase-d45b92156e2cf9b22c67e63642ae149c4c83c160.tar.gz tdebase-d45b92156e2cf9b22c67e63642ae149c4c83c160.zip |
Fix start as the default session
Thanks to Slávek Banko for the patch!
Diffstat (limited to 'starttde')
-rw-r--r-- | starttde | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ echo "[starttde] This script is $0" 1>&2 # To determine that location use the following method rather than presuming # the existence of $TDEDIR. That environment variable might not be # defined or defined to point to KDE4 binaries. -BIN_DIR="`dirname $0`" +BIN_DIR="`dirname \`readlink -f $0\``" # Do not use tde-config to determine the version. That command creates a # profile directory in the root of the file system. Refer to Bug Report 293. if [ -x $BIN_DIR/konqueror ]; then @@ -77,7 +77,7 @@ if [ -z $TDE_IS_PRELINKED ]; then fi # In case we have been started with full pathname spec without being in PATH. -bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'` +bindir=`readlink -f "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'` if [ -n "$bindir" ]; then case $PATH in $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;; |