Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/updateserver/templates/update_update_manifests.erb

Issue 29465617: #1574 - Update template syntax in updateserver module (Closed)
Patch Set: Created June 14, 2017, 12:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/updateserver/templates/update_update_manifests.erb
===================================================================
--- a/modules/updateserver/templates/update_update_manifests.erb
+++ b/modules/updateserver/templates/update_update_manifests.erb
@@ -1,12 +1,12 @@
#!/bin/bash
-lock_file="<%= sitescripts_var_dir %>/update_update_manifests.lock"
+lock_file="<%= @sitescripts_var_dir %>/update_update_manifests.lock"
exec 9>"$lock_file"
flock -n 9 || exit 0
-<% repositories_to_sync.each do |repository| %>
-hg pull -q -R "<%= sitescripts_var_dir %>/<%= repository %>"
+<% @repositories_to_sync.each do |repository| %>
+hg pull -q -R "<%= @sitescripts_var_dir %>/<%= repository %>"
<% end %>
export PYTHONPATH=/opt/sitescripts
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld