>Greetings all, > >I am pleased to announce that after close to two years, we are finally >starting the release cycle for nmh 1.6 and the first release candidate is >now available! You can download it here: > > http://download.savannah.gnu.org/releases/nmh/nmh-1.6-RC1.tar.gz
I started to prepare patch for FreeBSD port and during preparation I noted that contrib scripts use direct paths, like /bin/bash or /usr/bin/perl. Last one can be handled by FreeBSD, but first one will be broken. If script authors do not object, I'd like to propose a patch, which replaces direct paths with indirect '/usr/bin/env' call. It will make code a little bit more portable between the systems.
diff --git a/docs/contrib/ml b/docs/contrib/ml index 66bcf10..5eedbd3 100755 --- a/docs/contrib/ml +++ b/docs/contrib/ml @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ml is a mail reading interface for mh(1). the design is that of # a thin wrapper (this script) which uses 'less' for message diff --git a/docs/contrib/replyfilter b/docs/contrib/replyfilter index c7d4643..4c1f291 100755 --- a/docs/contrib/replyfilter +++ b/docs/contrib/replyfilter @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # replyfilter - A reply filter for nmh # diff --git a/docs/contrib/vpick b/docs/contrib/vpick index a3eb939..3578ae1 100755 --- a/docs/contrib/vpick +++ b/docs/contrib/vpick @@ -1,5 +1,6 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl use strict; +use warnings; use vars qw($cui $list $win $VERSION); #5.12 introduced a warning about prototypes that afflicts old Curses::UI
_______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
