view src/pathdef.sh @ 26706:71e6e67b2898 v8.2.3882

patch 8.2.3882: more duplicated code in f_getreginfo() Commit: https://github.com/vim/vim/commit/d3f00f54bf955bd01767db3a0af25866bc112ec7 Author: zeertzjq <zeertzjq@outlook.com> Date: Fri Dec 24 12:02:43 2021 +0000 patch 8.2.3882: more duplicated code in f_getreginfo() Problem: More duplicated code in f_getreginfo(). Solution: Also use getreg_get_regname(). (closes https://github.com/vim/vim/issues/9398)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 Dec 2021 13:15:03 +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: