Skip to content

Commit 776b070

Browse files
julio-bchrisbra
authored andcommitted
installman: Update the sed patterns in installman.sh
Problem: Installing man pages does not change the placeholder file paths Solution: Update the sed patterns in installman.sh Additionally we remove the sed command to update the path to the ps Vim files for those reasons: - All the postscript files were moved to the print/ subdirectory in Commit e37d50a - the sed command was wrongly quoting $vimloc so would wrongly try to search for the literal value $vimloc instead of using the expanded value. related: ce6fe84 closes: #19382 Signed-off-by: Julio B <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 388654a commit 776b070

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/installman.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ if test $what = "install"; then
5252
if test -r $helpsource/vim$langadd.1; then
5353
echo installing $destdir/$exename.1
5454
LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
55+
-e s+'/usr/local/share/vim/vim??'+$vimloc+ \
56+
-e s+/usr/local/share/vim+$vimloc+ \
5557
-e s+$vimloc/doc+$helpsubloc+ \
5658
-e s+$vimloc/print+$printsubloc+ \
5759
-e s+$vimloc/syntax+$synsubloc+ \
@@ -63,7 +65,6 @@ if test $what = "install"; then
6365
-e s+$vimloc/filetype.vim+$scriptloc/filetype.vim+ \
6466
-e s+$vimloc/scripts.vim+$scriptloc/scripts.vim+ \
6567
-e s+$vimloc/optwin.vim+$scriptloc/optwin.vim+ \
66-
-e 's+$vimloc/\*.ps+$scriptloc/\*.ps+' \
6768
$helpsource/vim$langadd.1 > $destdir/$exename.1
6869
chmod $manmod $destdir/$exename.1
6970
fi
@@ -72,6 +73,7 @@ if test $what = "install"; then
7273
if test -r $helpsource/vimtutor$langadd.1; then
7374
echo installing $destdir/$exename""tutor.1
7475
LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
76+
-e s+'/usr/local/share/vim/vim??'+$vimloc+ \
7577
-e s+$vimloc/tutor+$tutorsubloc+ \
7678
$helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
7779
chmod $manmod $destdir/$exename""tutor.1
@@ -88,6 +90,7 @@ if test $what = "install"; then
8890
if test -r $helpsource/evim$langadd.1; then
8991
echo installing $destdir/$evimname.1
9092
LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
93+
-e s+'/usr/local/share/vim/vim??'+$vimloc+ \
9194
-e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
9295
$helpsource/evim$langadd.1 > $destdir/$evimname.1
9396
chmod $manmod $destdir/$evimname.1

0 commit comments

Comments
 (0)