view src/pathdef.sh @ 24083:1765b5b0f08d v8.2.2583

patch 8.2.2583: Vim9: cannot compare result of getenv() with null Commit: https://github.com/vim/vim/commit/7ad67d1150a1e48371d64e2919591c38b80e7cfc Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 10 16:08:26 2021 +0100 patch 8.2.2583: Vim9: cannot compare result of getenv() with null Problem: Vim9: cannot compare result of getenv() with null. Solution: Make the return type of getenv() "any". (closes https://github.com/vim/vim/issues/7943)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Mar 2021 16:15: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: