>>>>> On Thu, 16 Aug 2012, Michał Górny wrote: > +dointo() { > + [[ ${#} -gt 2 ]] || die 'Synopsis: dointo <directory> <file> [...]' > + > + local directory=${1} > + shift > + > + ( > + insinto "${directory}"
Shouldn't there be checking for errors here, for the case that insinto fails? > + doins "${@}" > + ) > +} Ulrich