view src/pathdef.sh @ 14605:0c47880f3d95 v8.1.0316

patch 8.1.0316: swapinfo() test fails on Travis commit https://github.com/vim/vim/commit/4c5765bc47b2708075e8d8471e8d342079479777 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 22 11:28:01 2018 +0200 patch 8.1.0316: swapinfo() test fails on Travis Problem: swapinfo() test fails on Travis. Solution: Handle a long host name. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/3361) Also make the version check flexible. (James McCoy)
author Christian Brabandt <cb@256bit.org>
date Wed, 22 Aug 2018 11:30: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: