aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-buildpackage
diff options
context:
space:
mode:
authorBenoît Knecht <benoit.knecht@fsfe.org>2010-10-26 16:11:36 +0200
committerGuido Günther <agx@sigxcpu.org>2010-11-02 11:57:56 +0100
commitdfe910406faf1fbfffe5aed258b95c76610392ae (patch)
tree6fc7e649e607a5100054a66b6b8aafa8cb803645 /git-buildpackage
parentea9a6560eb537cb29ee2c56da49756571c25ddde (diff)
Expand environment variables and '~' in gbp.conf paths
Options that expect a path in gbp.conf can now be given as '~/path/to/dir' or '$HOME/path/to/dir' (or any other environment variable for that matter). Closes: #545692
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-xgit-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-buildpackage b/git-buildpackage
index f58aa35f..f6fb4c1d 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -260,7 +260,7 @@ def main(argv):
help="force creation of orig.tar.gz", action="store_true")
orig_group.add_config_file_option(option_name="no-create-orig", dest="no_create_orig",
help="don't create orig.tar.gz", action="store_true")
- orig_group.add_config_file_option(option_name="tarball-dir", dest="tarball_dir",
+ orig_group.add_config_file_option(option_name="tarball-dir", dest="tarball_dir", type="path",
help="location to look for external tarballs")
orig_group.add_config_file_option(option_name="compression", dest="comp_type",
help="Compression type, default is '%(compression)s'")
@@ -282,7 +282,7 @@ def main(argv):
cmd_group.add_boolean_config_file_option(option_name="pbuilder", dest="use_pbuilder")
cmd_group.add_config_file_option(option_name="dist", dest="pbuilder_dist")
cmd_group.add_config_file_option(option_name="arch", dest="pbuilder_arch")
- export_group.add_config_file_option(option_name="export-dir", dest="export_dir",
+ export_group.add_config_file_option(option_name="export-dir", dest="export_dir", type="path",
help="before building the package export the source into EXPORT_DIR, default is '%(export-dir)s'")
export_group.add_config_file_option("export", dest="export",
help="export treeish object TREEISH, default is '%(export)s'", metavar="TREEISH")