brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | # This file gets sourced by all the shell scripts that use the JDK tools. |
2 | # gyp likes quoting some of the input arguments, but nothing else tolerates it, | ||||
3 | # so " are removed from various inputs. | ||||
4 | |||||
5 | set -e # stop on error | ||||
6 | #set -x # echo everything | ||||
7 | |||||
8 | TMPDIR=$2 | ||||
9 | # ${CLASSPATH} is used by the jdk tools | ||||
10 | EXTRA_CLASSPATH=`echo $3 | tr -d '"' | sed 's/ /:/g'` | ||||
11 | EXTRA_JARS=`echo $3 | tr -d '"'` | ||||
12 | |||||
13 | mkdir -p ${TMPDIR} |