--- tools/install-manpages.orig	2019-03-05 23:29:08 UTC
+++ tools/install-manpages
@@ -28,14 +28,14 @@ do
     basename=$(basename "$manpage")
     suffix=${basename#*.}
     locale=${suffix%.*}
-    [ "$locale" = "$suffix" ] && locale=
+    [ "$locale" = "$suffix" ] && locale= || locale=$locale/
     section=${suffix#*.}
     basename=${basename%%.*}
     (
         PS4='$ '
         set -x
-        $INSTALL -d "$mandir/$locale/man$section"
-        $INSTALL -m 644 "$manpage" "$mandir/$locale/man$section/$basename.$section"
+        $INSTALL -d "$mandir/${locale}man$section"
+        $INSTALL -m 644 "$manpage" "$mandir/${locale}man$section/$basename.$section"
     )
 done
 
