vim: Fix editing crontabs with crontab -e 1348/head
authorFlorian Fieber <florian@florianfieber.de>
Fri, 5 Jun 2015 14:07:56 +0000 (16:07 +0200)
committerFlorian Fieber <florian@florianfieber.de>
Fri, 5 Jun 2015 18:32:44 +0000 (20:32 +0200)
commit9f4c0abc22993ac3ddbde23877aca10164fabe22
tree0e632a3090d9a3724d921ede253a7056af243c81
parent0f562aa7c3af47e5a32b648e82dc648fd69d585a
vim: Fix editing crontabs with crontab -e

Per default, vim creates a new file and keeps the original file as backup.
This leads to crontab checking the backup file for changes instead of the
one actually being edited, resulting in any changes being silently dropped.
Since busybox's crontab saves temporary crontab files in "/etc/crontabs.*"
vim's default of "backupskip=/tmp/*" doesn't circumvent this.

This commit fixes this issue by appending "/etc/crontabs.*" to "backupskip".

Signed-off-by: Florian Fieber <florian@florianfieber.de>
utils/vim/Makefile
utils/vim/files/vimrc
utils/vim/files/vimrc.full