[rkward-cvs] SF.net SVN: rkward:[3504] trunk/rkward/rkward/rkward.sh.template

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Apr 3 11:50:54 UTC 2011


Revision: 3504
          http://rkward.svn.sourceforge.net/rkward/?rev=3504&view=rev
Author:   tfry
Date:     2011-04-03 11:50:54 +0000 (Sun, 03 Apr 2011)

Log Message:
-----------
Slightly less elegant, but the readlink system command cannot be assumed on a POSIX shell.

Modified Paths:
--------------
    trunk/rkward/rkward/rkward.sh.template

Modified: trunk/rkward/rkward/rkward.sh.template
===================================================================
--- trunk/rkward/rkward/rkward.sh.template	2011-04-03 11:46:27 UTC (rev 3503)
+++ trunk/rkward/rkward/rkward.sh.template	2011-04-03 11:50:54 UTC (rev 3504)
@@ -51,7 +51,7 @@
   # for regular installations
   # Usually, KDE always adds the current directory to the list of prefixes.
   # However, since RKWard 0.5.6, the main binary is in KDE's libexec dir, which defies this mechanism. Therefore, we need to make sure, KDEDIRS is set appropriately
-  EFFECTIVE_PREFIX=`readlink -e \`dirname $0\`/..`
+  EFFECTIVE_PREFIX="`dirname $0`/.."
   if [ -z "${KDEDIRS}" ]; then
     export KDEDIRS="${EFFECTIVE_PREFIX}"
   else


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list