summaryrefslogtreecommitdiff
path: root/Policy_sh.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2010-06-08 15:50:05 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2010-06-08 15:50:05 +0200
commitc1bd236350b343c4ef921b81c45eabb4ecc82569 (patch)
tree69761c8741e81d328a12495ec29614f946b6a43b /Policy_sh.SH
parente6eb90205a8cd8f42cd4d1226ea369f3ff1a14ae (diff)
downloadperl-c1bd236350b343c4ef921b81c45eabb4ecc82569.tar.gz
Fix long-standing typos in Policy_sh.SH
This patch fixes several long-standing typos and naming confusions in Policy_sh.SH, standardizing on the variable names used in config.sh. This will change the behavior of Policy.sh if you happen to have been accidentally relying on the Policy.sh incorrect behavior. I'd appreciate feedback from anyone using Policy.sh to be sure nothing is broken by this change. Thanks to Stoned Elipot for pointing this out. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Diffstat (limited to 'Policy_sh.SH')
-rw-r--r--Policy_sh.SH21
1 files changed, 11 insertions, 10 deletions
diff --git a/Policy_sh.SH b/Policy_sh.SH
index a618d23d56..cc310dddd1 100644
--- a/Policy_sh.SH
+++ b/Policy_sh.SH
@@ -130,7 +130,8 @@ esac
# $vendorman1dir $vendorman3dir $vendorhtml1dir $vendorhtml3dir
for var in \
- bin scriptdir privlib archlib man1dir man3dir html1dir html3dir \
+ bin scriptdir privlib archlib man1dir man3dir man1ext man3ext \
+ html1dir html3dir \
sitebin sitescript sitelib sitearch \
siteman1dir siteman3dir sitehtml1dir sitehtml3dir \
vendorbin vendorscript vendorlib vendorarch \
@@ -165,7 +166,7 @@ do
# We don't know what to do with these yet.
html1dir) dflt='' ;;
- htm31dir) dflt='' ;;
+ html3dir) dflt='' ;;
# Directories for site-specific add-on files
sitebin) dflt=$siteprefix/bin ;;
@@ -184,11 +185,11 @@ do
;;
sitearch) dflt="$sitelib/$archname" ;;
- siteman1) dflt="$siteprefix/man/man1" ;;
- siteman3) dflt="$siteprefix/man/man3" ;;
+ siteman1dir) dflt="$siteprefix/man/man1" ;;
+ siteman3dir) dflt="$siteprefix/man/man3" ;;
# We don't know what to do with these yet.
- sitehtml1) dflt='' ;;
- sitehtm31dir) dflt='' ;;
+ sitehtml1dir) dflt='' ;;
+ sitehtml3dir) dflt='' ;;
# Directories for vendor-supplied add-on files
# These are all usually empty.
@@ -213,11 +214,11 @@ do
;;
vendorarch) dflt="$vendorlib/$archname" ;;
- vendorman1) dflt="$vendorprefix/man/man1" ;;
- vendorman3) dflt="$vendorprefix/man/man3" ;;
+ vendorman1dir) dflt="$vendorprefix/man/man1" ;;
+ vendorman3dir) dflt="$vendorprefix/man/man3" ;;
# We don't know what to do with these yet.
- vendorhtml1) dflt='' ;;
- vendorhtm3) dflt='' ;;
+ vendorhtml1dir) dflt='' ;;
+ vendorhtml3dir) dflt='' ;;
esac # End of vendorprefix != ''
fi