fix xsl bug
authorChristian Weiske <cweiske@cweiske.de>
Sun, 9 Dec 2012 19:58:13 +0000 (20:58 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 9 Dec 2012 19:58:13 +0000 (20:58 +0100)
heatpump-dimplex-wpm_

index 169fd76063993a122bc1e0faaeddb01ae5c47324..77dfaad9035f66bcf4be66c7a85d43a05cfa8a15 100755 (executable)
@@ -111,7 +111,7 @@ fi
 xslfile=paths.xsl
 if [ ! -f "$xslfile" ]; then
     shell="`readlink -f "$0"`"
 xslfile=paths.xsl
 if [ ! -f "$xslfile" ]; then
     shell="`readlink -f "$0"`"
-    path="`dirname "$0"`"
+    path="`dirname "$shell"`"
     xslfile="$path/paths.xsl"
     if [ ! -f "$xslfile" ]; then
         echo 'Could not find paths.xsl'
     xslfile="$path/paths.xsl"
     if [ ! -f "$xslfile" ]; then
         echo 'Could not find paths.xsl'