diff options
Diffstat (limited to '_.lua')
-rwxr-xr-x | _.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ __ = function(c) | |||
156 | function exe:log() self.logging = true return self end | 156 | function exe:log() self.logging = true return self end |
157 | function exe:show() self.showing = true return self end | 157 | function exe:show() self.showing = true return self end |
158 | -- Should be called "then" but that's a reserved word. | 158 | -- Should be called "then" but that's a reserved word. |
159 | function exe:also(c) if nil == c then c = '' else c = ' ' .. c end self.cmd = self.cmd .. '; ' .. c .. ' ' return self end | 159 | function exe:Then(c) if nil == c then c = '' else c = ' ' .. c end self.cmd = self.cmd .. '; ' .. c .. ' ' return self end |
160 | function exe:And(c) if nil == c then c = '' else c = ' ' .. c end self.cmd = self.cmd .. ' && ' .. c .. ' ' return self end | 160 | function exe:And(c) if nil == c then c = '' else c = ' ' .. c end self.cmd = self.cmd .. ' && ' .. c .. ' ' return self end |
161 | function exe:Or(c) if nil == c then c = '' else c = ' ' .. c end self.cmd = self.cmd .. ' || ' .. c .. ' ' return self end | 161 | function exe:Or(c) if nil == c then c = '' else c = ' ' .. c end self.cmd = self.cmd .. ' || ' .. c .. ' ' return self end |
162 | function exe:noErr() self.cmd = self.cmd .. ' 2>/dev/null ' return self end | 162 | function exe:noErr() self.cmd = self.cmd .. ' 2>/dev/null ' return self end |