summaryrefslogtreecommitdiff
path: root/Policy_sh.SH
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-04-14 09:04:58 -0400
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 15:09:51 +0000
commitc4f23d77f4b3486a36335c4460cbfd4e81e37892 (patch)
treec0a1326984d277a8c25f70e7f81765e8a96dcf11 /Policy_sh.SH
parent13c745c007f7ab4c05f0dd76e12e5a70c8c0e95b (diff)
downloadperl-c4f23d77f4b3486a36335c4460cbfd4e81e37892.tar.gz
[PATCH for 5.004_64] Configure patch Config_64-01
Date: Tue, 14 Apr 1998 13:04:58 -0400 (EDT) Subject: [PATCH for 5.004_64] Configure patch Config_64-01-02.diff Date: Fri, 17 Apr 1998 11:01:13 -0400 (EDT) Subject: [PATCH for 5.004_64] Configure patch Config_64-02-03.diff Date: Thu, 23 Apr 1998 15:03:20 -0400 (EDT) Subject: [PATCH 5.004_64] Config_64-03-04.diff Date: Wed, 13 May 1998 14:33:30 -0400 (EDT) p4raw-id: //depot/perl@948
Diffstat (limited to 'Policy_sh.SH')
-rw-r--r--Policy_sh.SH13
1 files changed, 9 insertions, 4 deletions
diff --git a/Policy_sh.SH b/Policy_sh.SH
index acac3ed8af..4ae0bb10dd 100644
--- a/Policy_sh.SH
+++ b/Policy_sh.SH
@@ -46,7 +46,7 @@ esac
# Installation directives. Note that each one comes in three flavors.
# For example, we have privlib, privlibexp, and installprivlib.
# privlib is for private (to perl) library files.
-# privlibexp is the same, expcept any '~' the user gave to Configure
+# privlibexp is the same, except any '~' the user gave to Configure
# is expanded to the user's home directory. This is figured
# out automatically by Configure, so you don't have to include it here.
# installprivlib is for systems (such as those running AFS) that
@@ -82,7 +82,13 @@ for var in bin scriptdir privlib archlib \
case "$var" in
bin) dflt=$prefix/bin ;;
# The scriptdir test is more complex, but this is probably usually ok.
- scriptdir) dflt=$prefix/script ;;
+ scriptdir)
+ if $test -d $prefix/script; then
+ dflt=$prefix/script
+ else
+ dflt=$bin
+ fi
+ ;;
privlib)
case "$prefix" in
*perl*) dflt=$prefix/lib ;;
@@ -97,7 +103,7 @@ for var in bin scriptdir privlib archlib \
case "$prefix" in
*perl*) dflt=`echo $man1dir |
sed -e 's/man1/man3/g' -e 's/man\.1/man\.3/g'` ;;
- *) dflt=$privlib/man3 ;;
+ *) dflt=$privlib/man/man3 ;;
esac
;;
@@ -122,7 +128,6 @@ for var in bin scriptdir privlib archlib \
echo "# $var='$dflt'"
else
echo "# Preserving custom $var"
- eval val=$var
echo "$var='$val'"
fi