lib/Tools/browser
changeset 57082 2c1c8b38e3f0
parent 52443 725916b7dee5
child 58639 1df53737c59b
--- 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"