summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2014-07-26 21:43:54 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2014-07-26 21:43:54 +0200
commit47ef2f80a353917e46d5ef248320c351162a97b2 (patch)
tree3d999a9ee1d7d7dabd9c6545ac545a8f2794b9be /Configure
parent430c976074344a2860603292d71247b4312c350c (diff)
downloadperl-47ef2f80a353917e46d5ef248320c351162a97b2.tar.gz
Simplify cppsym dash problem
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 2 insertions, 4 deletions
diff --git a/Configure b/Configure
index c86e42f469..4453f38e5b 100755
--- a/Configure
+++ b/Configure
@@ -22063,16 +22063,14 @@ XPG2_EXTENDED XPG3 XPG3_EXTENDED XPG4 XPG4_EXTENDED
z8000 zarch
EOSH
# Maybe put other stuff here too.
-cat <<EOSH >>Cppsym.know
+./tr '-' '_' <<EOSH >>Cppsym.know
$osname
EOSH
-./tr '-' '_' < Cppsym.know > Cppsym.know.tmp
-$cat Cppsym.know.tmp > Cppsym.know
./tr '[a-z]' '[A-Z]' < Cppsym.know > Cppsym.a
./tr '[A-Z]' '[a-z]' < Cppsym.know > Cppsym.b
$cat Cppsym.know > Cppsym.c
$cat Cppsym.a Cppsym.b Cppsym.c | $tr ' ' $trnl | $sort | $uniq > Cppsym.know
-$rm -f Cppsym.a Cppsym.b Cppsym.c Cppsym.know.tmp
+$rm -f Cppsym.a Cppsym.b Cppsym.c
cat <<EOSH > Cppsym
$startsh
if $test \$# -gt 0; then