view src/pathdef.sh @ 27112:60df9f2679a6 v8.2.4085

patch 8.2.4085: Vim9: no test for using import in legacy script Commit: https://github.com/vim/vim/commit/c43e6235c7b3e64f81c6a4e294e4e47abf7a869a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 13 20:51:56 2022 +0000 patch 8.2.4085: Vim9: no test for using import in legacy script Problem: Vim9: no test for using import in legacy script. Solution: Add a test.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Jan 2022 22:00:05 +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: