David Fetter wrote: > Folks, > > I noticed that src/tools/copyright looks like it can only be run on > Bruce's machine, so this translation to Perl is intended: > > 1. To make the script idempotent, which allows its safe use in > automated tools that might run it many times. > > 2. To get the script to run on any machine a PostgreSQL developer > would be using, as Perl is already required. > > 3. To make the script more efficient. As the copyright notice we > need to munge only appears once per file, it stops once it has made a > substitution. > > Please find attached a patch implementing same.
Thanks. Applied to HEAD. I never liked putting scripts in git that only I could run, but I thought if something happened to me, it would be good to record what I did. The Perl solution is perfect. -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers