Merge pull request #32 from luistoledo/master

Update build script to create output and temp folders when not there
This commit is contained in:
Manuel Schmalstieg 2017-06-07 21:25:30 +02:00 committed by GitHub
commit 269cec8159

View File

@ -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