view src/pathdef.sh @ 29529:893f448af76d v9.0.0106

patch 9.0.0106: illegal byte regexp test doesn't fail when fix is reversed Commit: https://github.com/vim/vim/commit/cb36c2a3cdd5610487dd830d430bf022f288328d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 29 18:32:20 2022 +0100 patch 9.0.0106: illegal byte regexp test doesn't fail when fix is reversed Problem: Illegal byte regexp test doesn't fail when fix is reversed. Solution: Make sure illegal bytes end up in sourced script file.
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 Jul 2022 19:45:02 +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: