use full path to xsl file
authorChristian Weiske <cweiske@cweiske.de>
Sun, 9 Dec 2012 19:52:14 +0000 (20:52 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 9 Dec 2012 19:52:14 +0000 (20:52 +0100)
heatpump-dimplex-wpm_

index 694419e..510f3f7 100755 (executable)
@@ -108,7 +108,8 @@ if [ "$ret" -ne 0 ]; then
     exit 1
 fi
 
-data=`echo "$xml" | xsltproc paths.xsl -`; ret=$?
+path="`dirname "$0"`"
+data=`echo "$xml" | xsltproc "$path/paths.xsl" -`; ret=$?
 if [ "$ret" -ne 0 ]; then
     echo "Error running xsltproc"
     exit 2