summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-01-05 15:50:10 +0100
committerGuido Günther <agx@sigxcpu.org>2014-01-05 18:16:56 +0100
commit49f0e44ac45a77faca1e78d8ce77f73a0d62ddbc (patch)
tree5cbac9c53574fc6000bf9b26a0c5d569dafc5245 /gbp/config.py
parent7b1eaddb8b2d5193db078785ca4730d287bb2809 (diff)
Change the default of cleaner to /bin/true
Running a clean command within version control by default nowadays causes more trouble than it helps. It's unnecessary with pbuilder/cowbuilder/sbuild and with export-dir. So change the default from 'debuild clean' to a noop ('/bin/true'). Closes: #670624
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index f17d57f..e465ced 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -470,7 +470,7 @@ class GbpOptionParserDebian(GbpOptionParser):
defaults = dict(GbpOptionParser.defaults)
defaults.update( {
'builder' : 'debuild -i -I',
- 'cleaner' : 'debuild -d clean',
+ 'cleaner' : '/bin/true',
} )
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: