On 2/21/08, Cameron Dale <[EMAIL PROTECTED]> wrote:
> As a temporary workaround, is there a way to unset export-dir on the
> command-line? Since I have it set in my ~/.gbp.conf file I would need
> to unset it for the special case of building a snapshot.
Never mind, I figured it out right after I sent that mail, sorry for that.
Of course, if you specify "--git-export-dir=''" on the command-line it
is a workaround to this, though then the build still happens in your
working area.
FWIW, currently I use this bash function:
gbp-snap() # build a snapshot release
{
git-dch --snapshot --auto && \
git-buildpackage --git-export-dir='' --git-ignore-new \
-rfakeroot -uc -us
fakeroot debian/rules clean
mv -f ../*.deb ../*.changes ../*.build \
../*.tar.gz ../*.dsc ../build-area/
}
Cameron
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]