diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2019-02-28 15:23:25 (GMT) |
---|---|---|
committer | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2019-02-28 15:23:44 (GMT) |
commit | 46fe4773a2d063ad9bf74ff3aef258da102865d8 (patch) | |
tree | af63369b9a25c9427ed57415d687f1efecfe6b26 /SConstruct | |
parent | 32201ba249861390fae34198eedd787972db09ea (diff) | |
download | SCons-46fe4773a2d063ad9bf74ff3aef258da102865d8.zip SCons-46fe4773a2d063ad9bf74ff3aef258da102865d8.tar.gz SCons-46fe4773a2d063ad9bf74ff3aef258da102865d8.tar.bz2 |
Do not store build user name
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -81,6 +81,8 @@ if not developer: developer = os.environ.get(variable) if developer: break + if os.environ.get('SOURCE_DATE_EPOCH'): + developer = '_reproducible' build_system = ARGUMENTS.get('BUILD_SYSTEM') if not build_system: @@ -181,7 +183,9 @@ command_line_variables = [ ("DEVELOPER=", "The developer who created the packages. " + "The default is the first set environment " + - "variable from the list $USERNAME, $LOGNAME, $USER."), + "variable from the list $USERNAME, $LOGNAME, $USER." + + "If the SOURCE_DATE_EPOCH env var is set, " + + "'_reproducible' is the default."), ("REVISION=", "The revision number of the source being built. " + "The default is the git hash returned " + |