mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
patch 8.2.4421: some installed files and directories have wrong permissions
Problem: Some installed files and directories have wrong permissions. Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
This commit is contained in:
12
src/Makefile
12
src/Makefile
@ -2140,7 +2140,7 @@ autoconf:
|
||||
# without changes.
|
||||
# This requires a "vim" executable with the +eval feature.
|
||||
cmdidxs: ex_cmds.h
|
||||
vim --clean -N -X --not-a-term -u create_cmdidxs.vim -c quit
|
||||
vim --clean -X --not-a-term -u create_cmdidxs.vim -c quit
|
||||
|
||||
# Run vim script to generate the normal/visual mode command lookup table.
|
||||
# This only needs to be run when a new normal/visual mode command has been
|
||||
@ -2151,7 +2151,7 @@ cmdidxs: ex_cmds.h
|
||||
# - run "make nvcmdidxs" to generate nv_cmdidxs.h
|
||||
nvcmdidxs: auto/config.mk nv_cmds.h
|
||||
$(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs
|
||||
vim --clean -N -X --not-a-term -u create_nvcmdidxs.vim -c quit
|
||||
vim --clean -X --not-a-term -u create_nvcmdidxs.vim -c quit
|
||||
-rm -f create_nvcmdidxs
|
||||
|
||||
# The normal command to compile a .c file to its .o file.
|
||||
@ -2499,8 +2499,8 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
||||
cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
|
||||
# install the colorscheme files
|
||||
cd $(COLSOURCE); $(INSTALL_DATA_R) *.vim lists tools README.txt $(DEST_COL)
|
||||
cd $(DEST_COL); chmod $(DIRMOD) tools
|
||||
cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt tools/*.vim
|
||||
cd $(DEST_COL); chmod $(DIRMOD) lists tools
|
||||
cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt lists/*.vim tools/*.vim
|
||||
# install the syntax files
|
||||
cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
|
||||
cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
|
||||
@ -2519,7 +2519,7 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
||||
cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
|
||||
# install the ftplugin files
|
||||
cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt logtalk.dict $(DEST_FTP)
|
||||
cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt
|
||||
cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt logtalk.dict
|
||||
# install the compiler files
|
||||
cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
|
||||
cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
|
||||
@ -3030,7 +3030,7 @@ pixmaps:
|
||||
# Update the synmenu.vim file with the latest Syntax menu.
|
||||
# This is only needed when runtime/makemenu.vim was changed.
|
||||
menu: ./vim ../runtime/makemenu.vim
|
||||
./vim -u ../runtime/makemenu.vim
|
||||
./vim --clean -X --not-a-term -u ../runtime/makemenu.vim
|
||||
|
||||
# Start configure from scratch
|
||||
scrub scratch:
|
||||
|
@ -40,6 +40,7 @@ if test $what = "install" -o $what = "xxd"; then
|
||||
if test ! -d $destdir; then
|
||||
echo creating $destdir
|
||||
/bin/sh install-sh -c -d $destdir
|
||||
chmod 755 $destdir
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4421,
|
||||
/**/
|
||||
4420,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user