The first 'find' command in postUnpack that attempts to add +x permissions fails, because the +x permission is needed by the find itself, and with the xargs method it's added too late.
···5# We need chmod +wx on dirs, not just chmod +w
6dontMakeSourcesWritable=1
7postUnpack() {
8- find . -type d | xargs -n1 chmod +x
9- find . -type d | xargs -n1 chmod +x
10}
1112preBuild() {
···5# We need chmod +wx on dirs, not just chmod +w
6dontMakeSourcesWritable=1
7postUnpack() {
8+ find . -type d -exec chmod +x '{}' \;
09}
1011preBuild() {