summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-03 15:06:51 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-03 16:25:37 +0200
commit958d7a5710e52bbb04d5db79a6b2c0e1dab0e355 (patch)
tree8f7404da0635ae130ccf7aeb40b61e3e96829932
parent88d08c172c46fa218eaf9347736e9754be9bce40 (diff)
downloadsamba-958d7a5710e52bbb04d5db79a6b2c0e1dab0e355.tar.gz
samba-958d7a5710e52bbb04d5db79a6b2c0e1dab0e355.tar.bz2
samba-958d7a5710e52bbb04d5db79a6b2c0e1dab0e355.zip
land: Inherit EMAIL from the environment.
-rwxr-xr-xscript/land-remote.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/land-remote.py b/script/land-remote.py
index a705165f47..4a9c3fac8e 100755
--- a/script/land-remote.py
+++ b/script/land-remote.py
@@ -34,6 +34,9 @@ parser.add_option("--fail-slowly", help="continue running tests even after one h
(opts, extra_args) = parser.parse_args()
+if opts.email is None and os.getenv("EMAIL") is not None:
+ opts.email = os.getenv("EMAIL")
+
if not opts.foreground and not opts.email:
print "Not running in foreground and --email not specified."
sys.exit(1)