From de08b3c99e81030d1455dc7b3bf869559a234495 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 10 Oct 1999 22:36:46 +0000 Subject: no_comment --- perl-install/c/Makefile | 2 +- perl-install/c/stuff.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/c') diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile index 16f42def5..cd8256d97 100644 --- a/perl-install/c/Makefile +++ b/perl-install/c/Makefile @@ -3,7 +3,7 @@ stuff: %: %.xs test -e Makefile_c || C_RPM=1 perl Makefile.PL $(MAKE) -f Makefile_c - rm ../auto/c ; ln -s ../c/blib/arch/auto ../auto/c + rm -f ../auto/c ; ln -s ../c/blib/arch/auto ../auto/c clean: test ! -e Makefile_c || $(MAKE) -f Makefile_c clean diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm index ad5cf316d..70f2b3222 100644 --- a/perl-install/c/stuff.pm +++ b/perl-install/c/stuff.pm @@ -14,7 +14,7 @@ bootstrap c::stuff $VERSION; sub headerGetEntry { my ($h, $q) = @_; - + $h or log::l("empty header in headerGetEntry"), return; $q eq 'name' and return headerGetEntry_string($h, RPMTAG_NAME()); $q eq 'group' and return headerGetEntry_string($h, RPMTAG_GROUP()); $q eq 'version' and return headerGetEntry_string($h, RPMTAG_VERSION()); -- cgit v1.2.1