hungc/SpiderMonkey — pull request #1 by hungc (2011-12-01 15:53:50+00:00)
Title: Fix build failure and make variables local

Disable the "-j8" option when running make, since it causes the build to fail.

Put commands into a function to allow variables to be made local.
This prevents trampling of the same variables when the build script
is called by the CouchDB script.