From 629055175dac6ad21d293808a516af1c95904adb Mon Sep 17 00:00:00 2001 From: Gitea Date: Sun, 25 Oct 2020 02:47:22 +0200 Subject: [PATCH] Fixed pull issue with env --- admin/generate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/generate.sh b/admin/generate.sh index b5a7194..c9f3892 100755 --- a/admin/generate.sh +++ b/admin/generate.sh @@ -108,7 +108,7 @@ if [ ! -d $TMPGIT_POSTS ] mkdir -v $TMPGIT_POSTS 2>&1 | tee -a $LOG git clone $GIT_POSTS $TMPGIT_POSTS 2>&1 | tee -a $LOG else - git -C $TMPGIT_POSTS pull 2>&1 | tee -a $LOG + env -i git -C $TMPGIT_POSTS pull 2>&1 | tee -a $LOG fi if [ ! -d $TMPGIT_HUGO ] @@ -117,7 +117,7 @@ if [ ! -d $TMPGIT_HUGO ] mkdir -v $TMPGIT_HUGO 2>&1 | tee -a $LOG git clone --recursive $GIT_HUGO $TMPGIT_HUGO 2>&1 | tee -a $LOG else - git -C $TMPGIT_HUGO pull 2>&1 | tee -a $LOG + env -i git -C $TMPGIT_HUGO pull 2>&1 | tee -a $LOG fi # Hugo anschmeißen