Made script actually work in a different project.
Made script actually work in a different project.

I changed

    $baseDirectory = realpath(dirname(__FILE__) . "/../webapp");

to

    $baseDirectory = dirname(__FILE__);

which is less project-specific.

Also I removed

     | ack -vi $y

I'm not sure why that was there in the first place.

JonathanAquino/misc-scripts,JonathanAquino/misc-scripts