view src/pathdef.sh @ 17502:bc6088919610 v8.1.1749

patch 8.1.1749: Coverity warns for using negative index commit https://github.com/vim/vim/commit/736cd2cfbe83b85259eecc7d70e68297ce968d33 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 25 21:58:19 2019 +0200 patch 8.1.1749: Coverity warns for using negative index Problem: Coverity warns for using negative index. Solution: Move using index inside "if".
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Jul 2019 22: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: