forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Add a 'svn cleanup' before the update.
This commit is contained in:
parent
958b14c896
commit
8af90a8ef8
|
@ -72,6 +72,8 @@ function check_lock_file() {
|
||||||
function update_svn_repo() {
|
function update_svn_repo() {
|
||||||
logger 'algorithms-updater: update the SVN repo'
|
logger 'algorithms-updater: update the SVN repo'
|
||||||
cd $ALGO_DIR
|
cd $ALGO_DIR
|
||||||
|
# Do a svn cleanup to be on the safe side
|
||||||
|
SVN_CLEANUP_OP=$( svn cleanup )
|
||||||
svn update > $LOG_FILE 2>&1
|
svn update > $LOG_FILE 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue