src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
path: root/src/check-regexp.cpp
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2024年01月20日 09:25:05 -0700
committerTom Tromey <tom@tromey.com>2024年01月20日 09:29:54 -0700
commit8be2bee7f6861fd27d5c181b15d3126fc7dbf73b (patch)
treeb640808557cd9e8807b43deb203fe24c7d2e2459 /src/check-regexp.cpp
parent0c77dc9f46e6819120c400d674c4a044b1b3d615 (diff)
downloadsrc-highlite-8be2bee7f6861fd27d5c181b15d3126fc7dbf73b.tar.gz
lesspipe may contain ".sh" extension
On Fedora, the "lesspipe" script is actually called "lesspipe.sh". This patch proposes to use "$(which NAME)" to figure out the actual name of the script to use. If neither "lesspipe" nor "lesspipe.sh" exists in $PATH, the patch simply uses "lesspipe", preserving the current behavior. It was based on the 3.1.9 release tarball, but should apply cleanly to current git. This was reported as Fedora bugzilla 2256374.
Diffstat (limited to 'src/check-regexp.cpp')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月11日 19:44:46 +0000

AltStyle によって変換されたページ (->オリジナル) /