FIX: escaping of shell function parameters
FIX: loop that applies multiple patches
Merge pull request #211 from reneme/fix_dash

FIX: dash incompatibility for bootstrap.sh