Skip to content

Commit 2c8790a

Browse files
rename temporary directory for pdf generation from work-pdf to pdf
1 parent 53630a6 commit 2c8790a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/material/manifest.json
1111
/MANIFEST
1212
/site
13-
/work-pdf
13+
/pdf
1414

1515
# Distribution files
1616
/dist

tools/genpdf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#/bin/bash
22

33
DATA_DIR="$(cd "$(dirname "${0}")/.." && pwd)"
4-
docker run -v ${DATA_DIR}:/data --rm -it trivadis/mktools bash -c "cd /data; ./tools/genpdf-in-container.sh"
4+
docker run -v ${DATA_DIR}:/data --rm -it trivadis/mktools bash -c "cd /data; ./tools/run-in-container/genpdf.sh"

tools/genpdf-in-container.sh renamed to tools/run-in-container/genpdf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ function convert_to_pdf(){
6161
index.html ${DATA_DIR}/PLSQL-and-SQL-Coding-Guidelines.pdf
6262
}
6363

64-
DATA_DIR="$(cd "$(dirname "${0}")/.." && pwd)"
65-
TARGET_DIR=${DATA_DIR}/work-pdf
64+
DATA_DIR="$(cd "$(dirname "${0}")/../.." && pwd)"
65+
TARGET_DIR=${DATA_DIR}/pdf
6666

6767
create_target_dir
6868
copy_resources

0 commit comments

Comments
 (0)