diff options
author | Gerald Carter <jerry@samba.org> | 2005-12-03 01:03:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:42 -0500 |
commit | 03b77baa6f20b8eaa450e67b0e0e1ad6f5b686be (patch) | |
tree | 85555119721629ac36432dd5e765f465c847c9d6 /source3/script | |
parent | 064636fbf2e3ec89e6c59e694bdd3540c5298e24 (diff) | |
download | samba-03b77baa6f20b8eaa450e67b0e0e1ad6f5b686be.tar.gz samba-03b77baa6f20b8eaa450e67b0e0e1ad6f5b686be.tar.bz2 samba-03b77baa6f20b8eaa450e67b0e0e1ad6f5b686be.zip |
r12040: merging packaging fixes from release branch
(This used to be commit 47a9f2c3d6039a07a6970ac181aeb2888d47a353)
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/installman.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/script/installman.sh b/source3/script/installman.sh index 3bbca1a8aa..9235217ff0 100755 --- a/source3/script/installman.sh +++ b/source3/script/installman.sh @@ -19,8 +19,7 @@ if test ! -d $SRCDIR../docs/manpages; then fi # Get the configured feature set -test -f "${SRCDIR}/config.log" && \ - eval $( grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log") +test -f "${SRCDIR}/config.log" && eval `grep '^[A-Za-z0-9]*=.*' ${SRCDIR}/config.log` for lang in $langs; do if [ "X$lang" = XC ]; then @@ -44,7 +43,7 @@ for lang in $langs; do for sect in 1 5 7 8 ; do for m in $langdir/man$sect ; do for s in $SRCDIR../docs/manpages/$lang/*$sect; do - MP_BASENAME=${s##*/} + MP_BASENAME=`basename $s` # Check if this man page if required by the configured feature set case "${MP_BASENAME}" in |