view src/pathdef.sh @ 27328:7382135dac01 v8.2.4192

patch 8.2.4192: cannot use an import in 'printexpr' Commit: https://github.com/vim/vim/commit/7ef4a2fe3736bbeb5bad182782a74576aa06b0db Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 23 13:44:35 2022 +0000 patch 8.2.4192: cannot use an import in 'printexpr' Problem: Cannot use an import in 'printexpr'. Solution: Set the script context when evaluating 'printexpr'.
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Jan 2022 14:45:03 +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: