aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/view2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/view b/bin/view
index 159bc6a..21541c1 100755
--- a/bin/view
+++ b/bin/view
@@ -10,7 +10,7 @@ else
exit 1
fi
-bin/get-data "$BOOK_DIR" > "public/data.js"
TMP_DIR=$(mktemp --directory)
cp public/* "$TMP_DIR"
+bin/get-data "$BOOK_DIR" > "$TMP_DIR/data.js"
eval "$BROWSER $TMP_DIR/index.html"