summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-06-09 21:57:42 +0000
committerGerald Carter <jerry@samba.org>2006-06-09 21:57:42 +0000
commit5a17cf3336909d10bcea29b9346596335dc91e59 (patch)
tree2be49dd66e4ff1b3855576e30f1eb4235e08f9a4
parent9c11021ebbfda6369df07123e64a3b8b64104cba (diff)
downloadsamba-5a17cf3336909d10bcea29b9346596335dc91e59.tar.gz
samba-5a17cf3336909d10bcea29b9346596335dc91e59.tar.xz
samba-5a17cf3336909d10bcea29b9346596335dc91e59.zip
r16130: fix a shell portability issue for Solaris sh in installman.sh
-rwxr-xr-xsource/script/installman.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/script/installman.sh b/source/script/installman.sh
index 3bbca1a8aa5..869ce6ee38e 100755
--- a/source/script/installman.sh
+++ b/source/script/installman.sh
@@ -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
@@ -44,7 +44,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