Commits

Anonymous committed 9816e0f

Remove conflicting REPO directive from the rc script

Comments (0)

Files changed (1)

slave/etc/rc.d/rc.vlbuildslave

 CONF=/etc/vlbuildslave/slavehost.conf
 BKCONF=/etc/vlbuildslave/slavehost.conf.backup
 source $CONF
-REPO=$SLAVES_ROOT/vlbuildbot
-UPDATE=$REPO/updated/update.conf
+BOTREPO=$SLAVES_ROOT/vlbuildbot
+UPDATE=$BOTREPO/updated/update.conf
 LOGFILE=/var/log/vlbuildbot-updated.log
 LOCKFILE=/tmp/vlbuildbot-updated.lock
 UPDATELOCK=/tmp/vlbuildbot-updating.lock
 
 
 function refresh_git_tree() {
-    log "Refreshing git tree in $REPO"
+    log "Refreshing git tree in $BOTREPO"
     (
-    cd $REPO
+    cd $BOTREPO
     git pull >/dev/null 2>&1 
     )
 }