aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorLev Walkin <[email protected]>2014-04-07 00:08:46 -0700
committerLev Walkin <[email protected]>2014-04-07 00:08:46 -0700
commit85044deafbbe63b6b0ca70dad404a5279b44bf73 (patch)
tree708112ca17a746ac3f0412cb9898e2aa83512f65 /kerl
parentf350e80171c1f4f004babe0a7186336ad7a14aa7 (diff)
downloadkerl-85044deafbbe63b6b0ca70dad404a5279b44bf73.tar.gz
kerl-85044deafbbe63b6b0ca70dad404a5279b44bf73.tar.bz2
kerl-85044deafbbe63b6b0ca70dad404a5279b44bf73.zip
Update kerl to grok KERL_INSTALL_MANPAGES env
The KERL_INSTALL_MANPAGES is ignored if given in the environment. Fixing that by saving and restoring the KERL_INSTALL_MANPAGES along the rest of the options. By the way, KERL_INSTALL_HTMLDOCS is not reset in the beginning of the file, so no save/restore is necessary for it. Though its an inconsistency due to be fixed... as a separate ticket.
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl6
1 files changed, 6 insertions, 0 deletions
diff --git a/kerl b/kerl
index a6efde1..fd64e6a 100755
--- a/kerl
+++ b/kerl
@@ -46,6 +46,9 @@ fi
if [ -n "$KERL_DEPLOY_RSYNC_OPTIONS" ]; then
_KDRSYNC="$KERL_DEPLOY_RSYNC_OPTIONS"
fi
+if [ -n "KERL_INSTALL_MANPAGES" ]; then
+ _KIM="$KERL_INSTALL_MANPAGES"
+fi
KERL_CONFIGURE_OPTIONS=
KERL_CONFIGURE_APPLICATIONS=
KERL_CONFIGURE_DISABLE_APPLICATIONS=
@@ -76,6 +79,9 @@ fi
if [ -n "$_KDRSYNC" ]; then
KERL_DEPLOY_RSYNC_OPTIONS="$_KDRSYNC"
fi
+if [ -n "$_KIM" ]; then
+ KERL_INSTALL_MANPAGES="$_KIM"
+fi
if [ -z "$KERL_SASL_STARTUP" ]; then
INSTALL_OPT=-minimal