summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-03 11:02:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-03 11:02:42 +0000
commit00cd17e16ff429957a5adb2d463db953d0864eeb (patch)
tree06557841178ee8c7b560b8156ca905f65f2e51dc
parentce1d436cb8a50929a31d2ab21ab033f40f1da57a (diff)
downloaddrakx-backup-do-not-use-00cd17e16ff429957a5adb2d463db953d0864eeb.tar
drakx-backup-do-not-use-00cd17e16ff429957a5adb2d463db953d0864eeb.tar.gz
drakx-backup-do-not-use-00cd17e16ff429957a5adb2d463db953d0864eeb.tar.bz2
drakx-backup-do-not-use-00cd17e16ff429957a5adb2d463db953d0864eeb.tar.xz
drakx-backup-do-not-use-00cd17e16ff429957a5adb2d463db953d0864eeb.zip
use the cute "perldoc -l" instead of perl -V:vendorlib which doesn't work when the module hasn't been rebuilt
-rw-r--r--perl-install/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index c4878b86d..b3703bad8 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -288,5 +288,5 @@ dont_run_directly_stage2:
ln -sf runinstall2.sh $(DEST)/usr/bin/runinstall2
trace_stage2:
- eval `perl -V:vendorlib`; install -m 644 -D $$vendorlib/Devel/Trace.pm $(DEST)$$vendorlib/Devel/Trace.pm
- perl -pi -e 's|(#!/usr/bin/perl).*|$$1 -d:Trace|' $(DEST)/usr/bin/runinstall2
+ f=`perldoc -l Devel::Trace`; install -m 644 -D $$f $(DEST)$$f
+ perl -pi -e 's|(#!/usr/bin/perl).*|$$1 -d:Trace|' $(DEST)/usr/bin/runinstall2