aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-buildpackage
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-02-11 23:13:20 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-02-11 23:13:20 +0100
commitac641c213b7f5ded93027b9f9148392fed043738 (patch)
tree4a51cad692381af9866689656a331d79efd1f5c5 /git-buildpackage
parent41e6419dfd337165e679ece4ae3ba310abc94db3 (diff)
clarify dir argument
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-xgit-buildpackage8
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: