view src/pathdef.sh @ 16221:331dc836f866 v8.1.1115

patch 8.1.1115: cannot build with older C compiler commit https://github.com/vim/vim/commit/8f4aeb5572d604d1540ee0cb7e721b5f0cc6d612 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 4 15:40:56 2019 +0200 patch 8.1.1115: cannot build with older C compiler Problem: Cannot build with older C compiler. Solution: Move variable declaration to start of block.
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Apr 2019 15:45: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: