Add support for old PHP versions on linux

This commit is contained in:
Shivam Mathur
2020-02-09 04:08:48 +05:30
parent 3c6644f237
commit ca33d01e9f
13 changed files with 893 additions and 100 deletions

View File

@@ -67,7 +67,7 @@ export async function run(): Promise<void> {
case 'darwin':
case 'linux':
script_path = await build(os_version + '.sh', version, os_version);
await exec('sh ' + script_path + ' ' + version + ' ' + __dirname);
await exec('bash ' + script_path + ' ' + version + ' ' + __dirname);
break;
case 'win32':
script_path = await build('win32.ps1', version, os_version);