summaryrefslogtreecommitdiff
path: root/templates/rdiff.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rdiff.conf.erb')
-rw-r--r--templates/rdiff.conf.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb
index f5548e4..5e319a2 100644
--- a/templates/rdiff.conf.erb
+++ b/templates/rdiff.conf.erb
@@ -29,7 +29,7 @@ type = local
[dest]
<% %w{type host directory user sshoptions}.each do |v|
- if @scope.lookupvar(v)
- -%><%= v + ' = ' + @scope.lookupvar(v) + "\n" %><%
+ if has_variable?(v)
+ -%><%= v + ' = ' + get_instance_var("@#{v}") + "\n" %><%
end
end -%>