view src/pathdef.sh @ 18910:e8fe65da4198 v8.2.0016

patch 8.2.0016: test name used twice, option not restored properly Commit: https://github.com/vim/vim/commit/a48e78e11f2b647183fd12f569020756b17d7683 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 17 20:29:26 2019 +0100 patch 8.2.0016: test name used twice, option not restored properly Problem: Test name used twice, option not restored properly. Solution: Rename function, restore option with "&".
author Bram Moolenaar <Bram@vim.org>
date Tue, 17 Dec 2019 20:30:04 +0100
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: