Skip to content

Instantly share code, notes, and snippets.

@jskarpe
Created May 4, 2014 13:05
Show Gist options
  • Save jskarpe/4ed34e1e658409bc669f to your computer and use it in GitHub Desktop.
Save jskarpe/4ed34e1e658409bc669f to your computer and use it in GitHub Desktop.
#!/bin/bash
# MakeGood for PHP stopped working after Eclipse Indigo (3.8) due to inability to run testrunner.php
# This is a hack PHP binary, to be configured as PHP executable for MakeGood to start working in Juno, Kepler and Luna.
# Remove the -n operator to read all config files
options=`echo $@ | sed 's%-n %%' | sed 's%-c .+? %%'`
# Hardcode path to testrunner.php
options=`echo $options | sed 's@open_tag=on [^ ]*@open_tag=on /opt/testrunner.php
/usr/bin/php $options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment