diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2009-07-15 11:44:01 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2009-07-15 11:44:01 +0000 |
commit | b5b7f85e5073eaaa4bdb844de8124dd1655e218e (patch) | |
tree | 43140cd8a61a77f454181903261abd3d3086b403 /textproc/p5-PDF-Create/files/patch-Changes.PL | |
parent | Update to 3.016. (diff) |
- Update to 1.04
Notes
Notes:
svn path=/head/; revision=237866
Diffstat (limited to 'textproc/p5-PDF-Create/files/patch-Changes.PL')
-rw-r--r-- | textproc/p5-PDF-Create/files/patch-Changes.PL | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/textproc/p5-PDF-Create/files/patch-Changes.PL b/textproc/p5-PDF-Create/files/patch-Changes.PL deleted file mode 100644 index f94222d63f51..000000000000 --- a/textproc/p5-PDF-Create/files/patch-Changes.PL +++ /dev/null @@ -1,45 +0,0 @@ ---- Changes.PL.orig 2009-03-23 23:50:18.000000000 +0000 -+++ Changes.PL 2009-03-27 09:12:48.000000000 +0000 -@@ -3,12 +3,39 @@ - # Changes.PL - # - # Create the 'Changes' file automatically from git commit messages --# and versioning tags in the repository -+# and versioning tags in the repository. -+# -+# This script is designed to be run only on the PDF::Create maintainers -+# workstation and is not needed to install PDF::Create. -+# - - use strict; - --open(OUT, ">Changes") or die "Can not open 'Changes' for writing\n"; --open(IN,"git log --abbrev-commit --pretty |") or die "Can not run git\n"; -+# -+# Bail out with non-alarming error message if git ot the correct repository -+# is missing. -+# -+ -+my $user; -+my $git=`which git`; -+chomp $git; -+if (! (-f $git)) { -+ printf "Skipping... (git not found/installed)\n"; -+ exit (0); -+} -+ -+if (! ($user=`git config --get user.name 2>/dev/null`)) { -+ printf "Skipping... (git not found/installed)\n"; -+ exit (0); -+} -+chop $user; -+if ("$user" ne "Markus Baertschi") { -+ printf "Skipping... (not on maintainers workstation)\n"; -+ exit (0); -+} -+ -+open(OUT,">Changes") or die "Can not open 'Changes' for writing\n"; -+open(IN,"git log --abbrev-commit --pretty |") or die "Problem running git log\n"; - while(<IN>){ - # read the change log - if (/^commit /) { |