more portable -- accomodate MiKTeX on Windows;
authorwenzelm
Sat, 24 May 2014 19:15:04 +0200
changeset 57082 2c1c8b38e3f0
parent 57081 5fc1c2098964
child 57083 5c26000e1042
more portable -- accomodate MiKTeX on Windows;
lib/Tools/browser
--- a/lib/Tools/browser	Sat May 24 12:58:22 2014 +0200
+++ b/lib/Tools/browser	Sat May 24 19:15:04 2014 +0200
@@ -93,7 +93,10 @@
   RC="$?"
 
   if [ -n "$PDF" ]; then
-    "$ISABELLE_EPSTOPDF" "$OUTFILE" || fail "Failed to produce pdf output"
+    (
+      cd "$(dirname "$OUTFILE")"
+      "$ISABELLE_EPSTOPDF" "$(basename "$OUTFILE")" || fail "Failed to produce pdf output"
+    )
   fi
 
   rm -f "$PRIVATE_FILE"