summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-10 22:36:46 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-10 22:36:46 +0000
commitde08b3c99e81030d1455dc7b3bf869559a234495 (patch)
tree71639bb74323bb82e7203d84511e8b81702ca2fa /perl-install/c
parenteaf1f7e94354b3bf37db6864de8364ffbda223f7 (diff)
downloaddrakx-de08b3c99e81030d1455dc7b3bf869559a234495.tar
drakx-de08b3c99e81030d1455dc7b3bf869559a234495.tar.gz
drakx-de08b3c99e81030d1455dc7b3bf869559a234495.tar.bz2
drakx-de08b3c99e81030d1455dc7b3bf869559a234495.tar.xz
drakx-de08b3c99e81030d1455dc7b3bf869559a234495.zip
no_comment
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/Makefile2
-rw-r--r--perl-install/c/stuff.pm2
2 files changed, 2 insertions, 2 deletions
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());