Cause whatcomp output to use the incoming epocroot value. i.e. if epocroot is relative then so is the what output.
e.g. if EPOCROOT=\ then the output will be of the form "\epoc32\release\armv5\...." If it's "..\myepocroot" then the output will be "..\myepocroot\epoc32\release\armv5". If it's absolute then the what output will also be absolute.
#!/bin/bash
for dir in . cpp-raptor cygwin-1.5.25 mingw-5.1.4 python-2.5.2; do
echo testing exports.inf in $dir
(cd $dir; ./exports.sh2; sort exports.inf > t1; sort exports.inf2 > t2; diff t1 t2)
done