Lines Matching refs:Shell
10 class Shell(object): class
49 self._prefix.append(Shell('pushd', cwd))
50 self._suffix.insert(0, Shell('popd'))
54 self._prefix.append(Shell('%s=%s' % (env_var, value)))
55 self._suffix.insert(0, Shell('unset', env_var))
60 self._prefix.append(Shell('%s=$(umask)' % umask_save_var))
61 self._prefix.append(Shell('umask', umask))
62 self._suffix.insert(0, Shell('umask', '$%s' % umask_save_var))
132 return [str, Shell, Chain, Pipe]
151 return [str, Shell]
157 pipe.insert(str(Shell('cat', self._input), 0))
160 pipe.append(str(Shell('tee', self._output)))
185 return Shell('cp', *options)
198 MakeDir(to_path), Shell('rsync', '-a', '%s:%s' %
203 return Shell('ln', '-f', '-s', '-T', to_path, link_name)
216 return Shell('mkdir', *options)
220 return Shell('rm', '-r', '-f', *dirs)
225 MakeDir(dest_dir), Shell('tar', '-x', '-f', tar_file, '-C', dest_dir))
241 return Chain(MakeDir(os.path.dirname(tar_file)), Shell('tar', *options))