pgsql: Set Perl search path more idiomatically

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Set Perl search path more idiomatically
Date: 2020-04-14 20:53:17
Message-ID: E1jOSYX-0001s1-U5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Set Perl search path more idiomatically

Back in commits 1df92eeafe, f884a96819, and 592123efbb I used some
hackish code to set the script search path, unaware despite decades of
perl that there was a completely standard way to do this. This patch
changes those cases to use the standard perl FindBin package.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e60c6f6ea17b50833242653fe2781f6d47429540

Modified Files
--------------
src/backend/catalog/genbki.pl | 5 ++---
src/tools/msvc/build.pl | 5 ++---
src/tools/msvc/install.pl | 5 ++---
src/tools/msvc/mkvcbuild.pl | 5 ++---
src/tools/msvc/vcregress.pl | 5 +++--
5 files changed, 11 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2020-04-14 21:02:03 pgsql: Stop requiring an explicit return from perl subroutines
Previous Message Robert Haas 2020-04-14 17:51:11 pgsql: Document the backup manifest file format.