Fix ci scripts
Change-Id: I1ba50c6bf57f94f9eb811623aa8d3e8427b39361
diff --git a/ci/html2pdf b/ci/html2pdf
index 90a6610..322adcd 100755
--- a/ci/html2pdf
+++ b/ci/html2pdf
@@ -1,13 +1,7 @@
#!/bin/sh -eu
in=$1
-# Get absolute path to preserve relative links
-abs_in=$(realpath "$in")
-work_dir=$(dirname "$abs_in")
-
-# Use Chrome with no shrinking, working from correct directory
-cd "$work_dir"
-R -e "pagedown::chrome_print('$(basename "$abs_in")',
+R -e "pagedown::chrome_print('$in',
options=list(
pageRanges='1',
paperWidth=33.11,