projects
/
auto-debuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
58ba565
)
Fix for running in minimal chroot
author
Ralf Jung
<post@ralfj.de>
Fri, 3 Aug 2012 12:13:21 +0000
(14:13 +0200)
committer
Ralf Jung
<post@ralfj.de>
Fri, 3 Aug 2012 12:13:21 +0000
(14:13 +0200)
auto_debuild.py
patch
|
blob
|
history
diff --git
a/auto_debuild.py
b/auto_debuild.py
index 86f5805c8fe3e90f041891edcaf6edaa85ea6568..bb4387e9dc1493ab50576858a2bbdddb75b37468 100755
(executable)
--- a/
auto_debuild.py
+++ b/
auto_debuild.py
@@
-91,8
+91,8
@@
def writeDependency(f, name, list):
def createDebianFiles(config):
sourceName = config['sourceName']
binaryName = config.get('binaryName', sourceName+'-local')
def createDebianFiles(config):
sourceName = config['sourceName']
binaryName = config.get('binaryName', sourceName+'-local')
- name = config.get('name', os.get
login())
- email = config.get('email', os.get
login(
)+'@'+os.uname()[1]) # user@hostname
+ name = config.get('name', os.get
env('USER')) # os.getlogin() fails in minimal chroots
+ email = config.get('email', os.get
env('USER'
)+'@'+os.uname()[1]) # user@hostname
debDir = os.path.expanduser(config['debDir'])
buildSystem = config['buildSystem']
version = config['version']
debDir = os.path.expanduser(config['debDir'])
buildSystem = config['buildSystem']
version = config['version']