view src/pathdef.sh @ 26002:c45e990847e5

patch 8.2.3534: autoread test is a bit flaky Commit: https://github.com/vim/vim/commit/944eeb44fb6e9d6d28474a1348d27c07873892f9 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 18 14:37:13 2021 +0100 patch 8.2.3534: autoread test is a bit flaky Problem: Autoread test is a bit flaky. Solution: Wait a brief moment before overwriting the file.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Oct 2021 15:45:04 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

#! /bin/sh
#
# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
#
if test -s auto/link.sed; then
  cp auto/pathdef.c auto/pathdef.tmp
  sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
  rm -f auto/pathdef.tmp
fi

# vim:set sw=2 et: