summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2014-08-04 10:38:48 -0400
committerAndy Dougherty <doughera@lafayette.edu>2014-08-04 10:38:48 -0400
commitdd25c352db6f2a0adb8324232f6ccfd456d603e9 (patch)
tree1dca0f8f9ca710344deaad4f5ad156dd4662ab74 /hints/solaris_2.sh
parentdee28d0dbca2d9719243e3e17392dcd12d011104 (diff)
downloadperl-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.sh2
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