library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Add a 'svn cleanup' before the update.

This commit is contained in:
Andrea Dell'Amico 2018-02-24 10:28:24 +01:00
parent 958b14c896
commit 8af90a8ef8
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ function check_lock_file() {
function update_svn_repo() {
logger 'algorithms-updater: update the SVN repo'
cd $ALGO_DIR
# Do a svn cleanup to be on the safe side
SVN_CLEANUP_OP=$( svn cleanup )
svn update > $LOG_FILE 2>&1
}