>From 6cbbef99f9e12b57d4e0df82b2c70f0460d98142 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 21 Jul 2024 20:04:26 +0200 Subject: [PATCH] build: Fix use of perl on Guix, FreeBSD, NetBSD * man/help2man: Search for perl in $PATH. --- man/help2man | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/help2man b/man/help2man index 7ba1aa6..fc1c991 100755 --- a/man/help2man +++ b/man/help2man @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # Generate a short man page from --help and --version output. # Copyright (C) 1997-2005, 2009-2011, 2013, 2015-2024 Free Software Foundation, @@ -23,6 +23,7 @@ use 5.008; use strict; +use warnings; use Getopt::Long; use Text::Tabs qw(expand); use POSIX qw(strftime setlocale LC_ALL); -- 2.34.1