b9-0.4.1: A tool and library for building virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.ShellScript

Description

Definition of Script and functions to convert Scripts to bash scripts.

Synopsis

Documentation

writeSh :: FilePath -> Script -> IO () Source

Convert script to bash-shell-script written to file and make file executable.

emptyScript :: Script -> Bool Source

Check if a script has the same effect as NoOP

data Cwd Source

Constructors

Cwd FilePath 
NoCwd 

Instances

data User Source

Constructors

User String 
NoUser 

Instances