view src/pathdef.sh @ 16503:17f5563d1285 v8.1.1255

patch 8.1.1255: building desktop files fails on FreeBSD commit https://github.com/vim/vim/commit/12e91862c14a1af44b537d478e8a5021893044fe Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 3 21:20:03 2019 +0200 patch 8.1.1255: building desktop files fails on FreeBSD Problem: Building desktop files fails on FreeBSD. (Adam Weinberger) Solution: Avoid using non-portable construct in Makefile. (closes https://github.com/vim/vim/issues/4332)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 May 2019 21: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: