Mercurial > gub
changeset 3561:9880c1606ff6
Do not attempt to use GIT command on tarball source.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 31 May 2007 15:57:30 +0200 |
parents | 6b7633876f27 |
children | 22353d2d21d1 |
files | gub/specs/git.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/git.py Wed May 30 17:33:05 2007 +0200 +++ b/gub/specs/git.py Thu May 31 15:57:30 2007 +0200 @@ -8,7 +8,12 @@ self.with_template (mirror='http://kernel.org/pub/software/scm/git/git-%(version)s.tar.bz2', version='1.5.1.4') def patch (self): - self.system('cd %(srcdir)s && git reset --hard HEAD') +# huh? reset in a tarball dir? +# invoking cd /home/janneke/vc/gub/target/local/gubfiles/src/git-1.5.1.4 && git reset --hard HEAD +# fatal: Not a git repository: '.git' +# Command barfed: cd /home/janneke/vc/gub/target/local/gubfiles/src/git-1.5.1.4 && git reset --hard HEAD + + self.system ('echo NOT "cd %(srcdir)s && git reset --hard HEAD"') self.shadow_tree ('%(srcdir)s', '%(builddir)s') self.file_sub ([('git describe','true')], '%(srcdir)s/GIT-VERSION-GEN')