diff options
author | Tails developers <tails@boum.org> | 2012-10-23 15:08:45 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-10-23 21:51:04 +0200 |
commit | 8bb6499572fd1c1a05c033f85bc36b556d9ba629 (patch) | |
tree | a8713f0b9aa56883f8645db222394aa549175954 /templates/inoticoming.default.erb | |
parent | 236ae8bf9adfc3ad34650d20a82f9720a7002b1b (diff) |
Refer to variables using Ruby instance variables in templates
This is the recommended way, as it prevents clashes with Ruby function names.
Diffstat (limited to 'templates/inoticoming.default.erb')
-rw-r--r-- | templates/inoticoming.default.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/inoticoming.default.erb b/templates/inoticoming.default.erb index b666851..303d9fc 100644 --- a/templates/inoticoming.default.erb +++ b/templates/inoticoming.default.erb @@ -14,9 +14,9 @@ LOGFILE="/var/log/incoming.log" INITIALSEARCH=0 # directory to monitor -DIR=<%= basedir %>/incoming +DIR=<%= @basedir %>/incoming # actions -BASEDIR=<%= basedir %> +BASEDIR=<%= @basedir %> RULENAME=incoming ACTIONS="--suffix .changes --stderr-to-log reprepro -s -b $BASEDIR --waitforlock 1000 processincoming $RULENAME {} ;" |