From 260e43dbae9bcd168245d2c960b68b3df0676eaa Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 9 Sep 2012 20:57:32 +0200 Subject: [PATCH 1/1] don't fail to waitAfterConfig if the build system adds no auto_configure rule --- auto_debuild.py | 1 + 1 file changed, 1 insertion(+) diff --git a/auto_debuild.py b/auto_debuild.py index e28d34d..0be45a3 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -248,6 +248,7 @@ def createDebianFiles(config): r.rules['installdocs'] = [safeCall('dh_installdocs', '--link-doc='+binaryName)] # make the doc folder of the dbg package a symlink # wait after configuration? if config.get('waitAfterConfig', False): + if not 'auto_configure' in r.rules: r.rules['auto_configure'] = ['dh_auto_configure'] # make sure there is an override r.rules['auto_configure'].append("@"+safeCall('read', '-p', 'Configuration done. Hit "Enter" to build the package. ', 'DUMMY_VAR')) # if we run in dash, we need to tell it which variable to use for the result... # dump it to a file r.write(f) -- 2.30.2