summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/script/installman.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/installman.sh b/source3/script/installman.sh
index 2329ed5425..5b6bba69ed 100755
--- a/source3/script/installman.sh
+++ b/source3/script/installman.sh
@@ -22,8 +22,8 @@ for lang in $langs; do
echo Installing \"$lang\" man pages in $MANDIR/lang/$lang
fi
- langdir=$MANDIR/lang/$lang
- for d in $MANDIR $MANDIR/lang $langdir $langdir/man1 $langdir/man5 $langdir/man7 $langdir/man8; do
+ langdir=$MANDIR/$lang
+ for d in $MANDIR $langdir $langdir/man1 $langdir/man5 $langdir/man7 $langdir/man8; do
if [ ! -d $d ]; then
mkdir $d
if [ ! -d $d ]; then