Mercurial > vim
view src/pathdef.sh @ 15188:2d8c31ae1e24 v8.1.0604
patch 8.1.0604: autocommand test fails on MS-Windows
commit https://github.com/vim/vim/commit/9eb76af451ddd8eaad0cd5dd629f18c4f4035171
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 16 16:30:21 2018 +0100
patch 8.1.0604: autocommand test fails on MS-Windows
Problem: Autocommand test fails on MS-Windows.
Solution: Use pathcmp() instead of strcmp() to check if a directory differs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Dec 2018 16:45: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: