Browse Source

Fixed pull issue with env

master
Gitea 6 years ago
parent
commit
629055175d
  1. 4
      admin/generate.sh

4
admin/generate.sh

@ -108,7 +108,7 @@ if [ ! -d $TMPGIT_POSTS ]
mkdir -v $TMPGIT_POSTS 2>&1 | tee -a $LOG mkdir -v $TMPGIT_POSTS 2>&1 | tee -a $LOG
git clone $GIT_POSTS $TMPGIT_POSTS 2>&1 | tee -a $LOG git clone $GIT_POSTS $TMPGIT_POSTS 2>&1 | tee -a $LOG
else else
git -C $TMPGIT_POSTS pull 2>&1 | tee -a $LOG env -i git -C $TMPGIT_POSTS pull 2>&1 | tee -a $LOG
fi fi
if [ ! -d $TMPGIT_HUGO ] if [ ! -d $TMPGIT_HUGO ]
@ -117,7 +117,7 @@ if [ ! -d $TMPGIT_HUGO ]
mkdir -v $TMPGIT_HUGO 2>&1 | tee -a $LOG mkdir -v $TMPGIT_HUGO 2>&1 | tee -a $LOG
git clone --recursive $GIT_HUGO $TMPGIT_HUGO 2>&1 | tee -a $LOG git clone --recursive $GIT_HUGO $TMPGIT_HUGO 2>&1 | tee -a $LOG
else else
git -C $TMPGIT_HUGO pull 2>&1 | tee -a $LOG env -i git -C $TMPGIT_HUGO pull 2>&1 | tee -a $LOG
fi fi
# Hugo anschmeißen # Hugo anschmeißen

Loading…
Cancel
Save