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
# script to generate exports for this component
# copy ../win32/* to /tools/sbs/win32/bv
find ../win32 -type f -print | grep -v 'distribution.policy.s60' | sed 's!\.\./win32\(.*\)!\.\./win32\1 /tools/sbs/win32/bv\1!' > exports.inf