author | Pavel Roskin <proski@gnu.org> | |
Fri, 30 Jun 2006 05:09:23 +0000 (01:09 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Jul 2006 00:14:44 +0000 (17:14 -0700) | ||
commit | 1d8c9dc47de0cbf3955ccc9408564cccbda8e348 | |
tree | bca0370fa6450cfdf965dc352bdf60f568ce8e6d | tree | snapshot |
parent | 3553309f5ba7f9fed61ac2767d53677c309826b2 | commit | diff |
Fix probing for already installed Error.pm
The syntax for 'require' was wrong, and it was always failing, which
resulted in installing our own version of Error.pm anyways.
Now we used to ship our own Error.pm in the same directory, so after
fixing the syntax, 'require' always succeeds, but it does not test if
the platform has Error.pm module installed anymore. So rename the
source we ship to private-Error.pm, and install that as Error.pm when
the platform does not have one already.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The syntax for 'require' was wrong, and it was always failing, which
resulted in installing our own version of Error.pm anyways.
Now we used to ship our own Error.pm in the same directory, so after
fixing the syntax, 'require' always succeeds, but it does not test if
the platform has Error.pm module installed anymore. So rename the
source we ship to private-Error.pm, and install that as Error.pm when
the platform does not have one already.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
perl/Error.pm | [deleted file] | blob | history |
perl/Makefile.PL | diff | blob | history | |
perl/private-Error.pm | [new file with mode: 0644] | blob |