aboutsummaryrefslogtreecommitdiff
path: root/old-tests/variable/override/p/buildfile
blob: 527b9aed97d4f347395471e2efb75aaa20921b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
if ($p_a == as)
{
  v = x
}
elif ($p_a == ap)
{
  v += s
}
elif ($p_a == pr)
{
  v =+ p
}

print "p     :" $v

d/:
{
  if ($p_d_a == as)
  {
    v = x
  }
  elif ($p_d_a == ap)
  {
    v += s
  }
  elif ($p_d_a == pr)
  {
    v =+ p
  }

  print "p/d   :" $v

  if ($p_d_t_a == as)
  {
    file{t}: v = x
  }
  elif ($p_d_t_a == ap)
  {
    file{t}: v += s
  }
  elif ($p_d_t_a == pr)
  {
    file{t}: v =+ p
  }

  print "p/d/t :" $(file{t}: v)
}

./: