view src/pathdef.sh @ 29312:2715448db31c v8.2.5172

patch 8.2.5172: "make menu" still uses legacy script Commit: https://github.com/vim/vim/commit/c19f1a3488c1bb6fe5707dc6338b13cb9f598670 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 27 23:13:04 2022 +0100 patch 8.2.5172: "make menu" still uses legacy script Problem: "make menu" still uses legacy script. Solution: make menu generation script use Vim9 script, fix errors.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Jun 2022 00:15:03 +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: