view src/pathdef.sh @ 30053:f5cbf8a4043d v9.0.0364

patch 9.0.0364: clang static analyzer gives warnings Commit: https://github.com/vim/vim/commit/c99e182e1fb54e39540d25d0ccd8dcdde25bb96c Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Sep 3 10:52:24 2022 +0100 patch 9.0.0364: clang static analyzer gives warnings Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11043)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Sep 2022 12:00:05 +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: