fix for clone build with build as input

Created by  Rob Vermaas  on January 13, 2010
CS2CB4EQ2XURPOEAZWVEX5QOEQB2SBBBJROGJJ4FOHEI5B3KMTXAC
In channels
main
upstream
Change contents