summaryrefslogtreecommitdiffstats
path: root/source/script
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-12-03 01:03:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:42 -0500
commit47a9f2c3d6039a07a6970ac181aeb2888d47a353 (patch)
tree602c9c61e3dbf60666bc84e0ed6c25e4dd6a72d6 /source/script
parent6ec0312090dc3107e3c92099536858a22046ccfe (diff)
downloadsamba-47a9f2c3d6039a07a6970ac181aeb2888d47a353.tar.gz
samba-47a9f2c3d6039a07a6970ac181aeb2888d47a353.tar.xz
samba-47a9f2c3d6039a07a6970ac181aeb2888d47a353.zip
r12040: merging packaging fixes from release branch
Diffstat (limited to 'source/script')
-rwxr-xr-xsource/script/installman.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/script/installman.sh b/source/script/installman.sh
index 3bbca1a8aa5..9235217ff00 100755
--- a/source/script/installman.sh
+++ b/source/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