changed to locale hugo_cachedir by using --cacheDir
This commit is contained in:
+1
-2
@@ -39,7 +39,6 @@ TMPGIT_POSTS=$GENDIR/kollegen-posts
|
||||
GIT_HUGO=https://kollegen.uber.space/gitea/kollegenrunde/kollegen-hugo.git
|
||||
GIT_POSTS=https://kollegen.uber.space/gitea/kollegenrunde/kollegen-posts.git
|
||||
|
||||
|
||||
# Log a text file content
|
||||
log_file () {
|
||||
cat $1
|
||||
@@ -123,7 +122,7 @@ fi
|
||||
# Hugo anschmeißen
|
||||
log "Starting hugo"
|
||||
|
||||
cd $TMPGIT_HUGO && $HUGO --destination $TMPPUBLIC > $TMPLOG 2> $TMPERR
|
||||
cd $TMPGIT_HUGO && $HUGO --cacheDir=$HOME/tmp/hugo_cache --destination $TMPPUBLIC > $TMPLOG 2> $TMPERR
|
||||
|
||||
if [ -f $TMPLOG ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user