diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-22 12:49:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-22 12:49:37 +0100 |
| commit | f8689d3ebcfeac346a374dd6e6ce15bfa593aadc (patch) | |
| tree | 4757812fc6664a84baf8023e5eb383ca114f6059 /cscript | |
| parent | 9659889e1780ed8bd120f2b09aac24099a47b661 (diff) | |
Try again to fix cscript for multiple debs.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -55,7 +55,12 @@ def package(env, target, version): env.set('CDIST_CXXFLAGS', env.get('CXXFLAGS')) env.set('CDIST_PKG_CONFIG_PATH', env.get('PKG_CONFIG_PATH')) env.command('dpkg-buildpackage') - return os.path.abspath(glob.glob('../*.deb')[0]) + + debs = [] + for p in glob.glob('../*.deb'): + debs.append(os.path.abspath(p)) + + return debs def make_pot(env): env.command('./waf pot') |
