diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-02-11 23:13:20 +0100 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-02-11 23:13:20 +0100 |
commit | ac641c213b7f5ded93027b9f9148392fed043738 (patch) | |
tree | 4a51cad692381af9866689656a331d79efd1f5c5 /git-buildpackage | |
parent | 41e6419dfd337165e679ece4ae3ba310abc94db3 (diff) |
clarify dir argument
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-x | git-buildpackage | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git-buildpackage b/git-buildpackage index aeb5d84c..4d816bdf 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -28,9 +28,9 @@ from gbp.config import GbpOptionParser from gbp.errors import GbpError -def create_orig(cp, dir, branch): - "create an orig.tar.gz" - output = os.path.join(dir, orig_file(cp)) +def create_orig(cp, output_dir, branch): + "create an orig.tar.gz in output_dir" + output = os.path.join(output_dir, orig_file(cp)) pipe = pipes.Template() pipe.prepend('git-archive --format=tar --prefix=%s-%s/ %s' % (cp['Source'], cp['Upstream-Version'], branch), '.-') pipe.append('gzip -c -9', '--') @@ -89,7 +89,7 @@ def main(argv): try: repo = GitRepository('.') except GitRepositoryError: - print >>sys.stderr,"%s is not a git repository" % (os.path.abspath('.')) + print >>sys.stderr, "%s is not a git repository" % (os.path.abspath('.')) return 1 try: |