diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2014-08-04 10:38:48 -0400 |
---|---|---|
committer | Andy Dougherty <doughera@lafayette.edu> | 2014-08-04 10:38:48 -0400 |
commit | dd25c352db6f2a0adb8324232f6ccfd456d603e9 (patch) | |
tree | 1dca0f8f9ca710344deaad4f5ad156dd4662ab74 /hints/solaris_2.sh | |
parent | dee28d0dbca2d9719243e3e17392dcd12d011104 (diff) | |
download | perl-dd25c352db6f2a0adb8324232f6ccfd456d603e9.tar.gz |
Fix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV
hints/solaris_2.sh generates a config.over script intended to add
PERL_USE_SAFE_PUTENV to ccflags, if it is not already present. An extra
leading underscore in the check meant that the test always failed and
PERL_USE_SAFE_PUTENV always got added.
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index a20dd39540..9577dad8e9 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -686,7 +686,7 @@ EOCBU # cat >> config.over <<'EOOVER' if test "$d_unsetenv" = "$define" -a \ - `expr "$ccflags" : '.*-D_PERL_USE_SAFE_PUTENV'` -eq 0; then + `expr "$ccflags" : '.*-DPERL_USE_SAFE_PUTENV'` -eq 0; then ccflags="$ccflags -DPERL_USE_SAFE_PUTENV" fi EOOVER |