app/cyclid/plugins/action/script.rb in cyclid-0.2.5 vs app/cyclid/plugins/action/script.rb in cyclid-0.3.0
- old
+ new
@@ -54,15 +54,15 @@
# Run the script action
def perform(log)
begin
# Export the environment data to the build host, if necesary
- env = @env.interpolate(@ctx) if @env
+ env = @env % @ctx if @env
@transport.export_env(env)
# Add context data
- script = @script % @ctx
- path = @path % @ctx
+ script = @script ** @ctx
+ path = @path ** @ctx
# Create an IO object containing the script and upload it to the
# build host
log.write("Uploading script to #{path}\n")