diff options
author | Lev Walkin <[email protected]> | 2014-04-07 00:08:46 -0700 |
---|---|---|
committer | Lev Walkin <[email protected]> | 2014-04-07 00:08:46 -0700 |
commit | 85044deafbbe63b6b0ca70dad404a5279b44bf73 (patch) | |
tree | 708112ca17a746ac3f0412cb9898e2aa83512f65 | |
parent | f350e80171c1f4f004babe0a7186336ad7a14aa7 (diff) | |
download | kerl-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.
-rwxr-xr-x | kerl | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |