Remove GIT_PULL_TMP and OPKG_CMDS_TMP when cloning

This commit is contained in:
Gerhard Hoffmann 2023-03-31 09:05:21 +02:00
parent 2045dcedf5
commit 87be571e43

View File

@ -82,6 +82,8 @@ clone_customer_repository () {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
log_debug "$func:${LINENO} cloning ${1} done" log_debug "$func:${LINENO} cloning ${1} done"
GIT_CLONE_EXECUTED=1 GIT_CLONE_EXECUTED=1
rm -f $GIT_PULL_TMP
rm -f $OPKG_CMDS_TMP
# after cloning, cd into repository, and re-initialize, # after cloning, cd into repository, and re-initialize,
# setting the work-tree as "/". This has the effect that # setting the work-tree as "/". This has the effect that
# a "git pull" will automatically fetched files in the # a "git pull" will automatically fetched files in the