Adjust regex to match variable names including underscores
[samba.git] / source / script / installman.sh
index ab9bfe506decb14730a1a7ce6e42005a9a25c134..085e86227c29f732e6e9f216ffc4dee37575038c 100755 (executable)
@@ -20,7 +20,7 @@ fi
 
 # Get the configured feature set
 test -f "${SRCDIR}/config.log" && \
-       eval `grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log"`
+       eval `grep "^[[:alnum:]_]*=.*" "${SRCDIR}/config.log"`
 
 for lang in $langs; do
     if [ "X$lang" = XC ]; then
@@ -48,6 +48,7 @@ for lang in $langs; do
 
            # Check if this man page if required by the configured feature set
            case "${MP_BASENAME}" in
+               cifs.upcall.8) test -z "${CIFSUPCALL_PROGS}" && continue ;;
                smbsh.1) test -z "${SMBWRAPPER}" && continue ;;
                *) ;;
            esac