Method: Nib::Exec#command

Defined in:
lib/nib/exec.rb

#commandObject



19
20
21
22
23
24
25
26
27
28
29
# File 'lib/nib/exec.rb', line 19

def command
  "
    if hash bash 2>/dev/null ; then
      bash #{action}
    elif hash ash 2>/dev/null ; then
      ash #{action}
    else
      sh #{action}
    fi
  "
end