diff options
author | Joris | 2023-01-21 14:27:26 +0100 |
---|---|---|
committer | Joris | 2023-01-21 14:27:26 +0100 |
commit | 959c28f52e2ac1038f27110c88344fb321ed8e0e (patch) | |
tree | 2a2ad2abce090f388137613eb582f4a9c2465e85 /bin/view | |
parent | 25abf9bc7fd3e6f5b5aabf745cef7d217cde4262 (diff) |
Generate data.js on tmp dir when viewing library
Diffstat (limited to 'bin/view')
-rwxr-xr-x | bin/view | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |