view src/pathdef.sh @ 12962:15a78f9a978f v8.0.1357

patch 8.0.1357: startup test fails on OpenBSD commit https://github.com/vim/vim/commit/1a2ab991a6d168699fbcc934b63cfc3579c3d34d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 28 21:06:18 2017 +0100 patch 8.0.1357: startup test fails on OpenBSD Problem: Startup test fails on OpenBSD. (Edd Barrett) Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy, closes #2376, closes #2378)
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Nov 2017 21:15: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: