pallet/pallet — Issue #97: conditional/when is broken
Author: jasonjckn
Created: 2011-10-20 04:03:50+00:00
State: open

#_ (lift pa-group-spec :compute c :phase
(phase-fn
(cond/when "1 -eq 1"
(exec-script
("touch /root/my-touch1"))
)
(cond/when "1 -eq 1"
(exec-script
("touch /root/my-touch2"))
)
))

This code only creates file my-touch2.
It should create my-touch1 and my-touch2.

I looked at the generate bash script, and there's no code whatsoever about touching my-touch1