Fix	bug #371277 for Autotools core.

- switch to use sh -c for running all scripts
2 files changed