mirror of
https://github.com/greyscalepress/manifestos.git
synced 2025-01-22 05:21:06 -05:00
Update build script to create output and temp folders when they does not exits
This commit is contained in:
parent
7a7ef0d506
commit
92e231605f
@ -17,6 +17,14 @@ TEMP2="../temp/newfile2.txt"
|
||||
TIMESTAMP=$(date -u +%Y%m%d_%H%M%SZ)
|
||||
OUTPUT="../output/Manifestos_for_the_Internet_Age-"$TIMESTAMP".pdf"
|
||||
|
||||
## Create the temp and output folder if they does not exist
|
||||
if [ ! -d "../temp" ]; then
|
||||
mkdir ../temp
|
||||
fi
|
||||
if [ ! -d "../output" ]; then
|
||||
mkdir ../output
|
||||
fi
|
||||
|
||||
if [ ! -d ~/.fonts ]; then
|
||||
mkdir ~/.fonts
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user