diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2013-01-28 08:55:53 +0100 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2013-01-28 08:55:53 +0100 |
commit | a7cd2d385922346d1a3c4ac56230544bb7f00ef9 (patch) | |
tree | a8a8012da2088ac4f3a83c4878f42e754af0ca42 /Configure | |
parent | d907e2e99312aeebe2e1355d660e3271a67c8221 (diff) | |
download | perl-a7cd2d385922346d1a3c4ac56230544bb7f00ef9.tar.gz |
Let Configure honor the external MAILDOMAIN environment variable, if set.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -28,7 +28,7 @@ # See Porting/pumpkin.pod for more information on metaconfig. # -# Generated on Mon Dec 24 10:05:48 CET 2012 [metaconfig 3.5 PL0] +# Generated on Mon Jan 28 08:54:06 CET 2013 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -8835,9 +8835,13 @@ your organization... EOM cont=x while test "$cont"; do + case "$MAILDOMAIN" in + '') maildomain="$myhostname$mydomain";; + *) maildomain="$MAILDOMAIN";; + esac case "$cf_email" in - '') dflt="$cf_by@$myhostname$mydomain";; - *) dflt="$cf_email";; + '') dflt="$cf_by@$maildomain";; + *) dflt="$cf_email";; esac rp='What is your e-mail address?' . ./myread |