summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-19 15:57:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-19 15:57:42 +0000
commitcc10af8042789097c52948fa329be7c432a4befd (patch)
tree36c4d0eb7e4f89f359ff5ea5f86248ee5c144e2a
parenta4ebe5a0284255cc7a0946f1e895af94e37b7c86 (diff)
downloadperl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar
perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar.gz
perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar.bz2
perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar.xz
perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.zip
export cat_or_die()MDK-92
-rw-r--r--MDK/Common/File.pm2
-rw-r--r--perl-MDK-Common.spec1
2 files changed, 2 insertions, 1 deletions
diff --git a/MDK/Common/File.pm b/MDK/Common/File.pm
index cc5f3b6..49895a0 100644
--- a/MDK/Common/File.pm
+++ b/MDK/Common/File.pm
@@ -113,7 +113,7 @@ L<MDK::Common>
use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK);
@ISA = qw(Exporter);
-@EXPORT_OK = qw(dirname basename cat_ cat__ output output_p output_with_perm append_to_file linkf symlinkf renamef mkdir_p rm_rf cp_af touch all glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed);
+@EXPORT_OK = qw(dirname basename cat_ cat_or_die cat__ output output_p output_with_perm append_to_file linkf symlinkf renamef mkdir_p rm_rf cp_af touch all glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed);
%EXPORT_TAGS = (all => [ @EXPORT_OK ]);
sub dirname { local $_ = shift; s|[^/]*/*\s*$||; s|(.)/*$|$1|; $_ || '.' }
diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec
index 5da43bb..d2e8684 100644
--- a/perl-MDK-Common.spec
+++ b/perl-MDK-Common.spec
@@ -75,6 +75,7 @@ rm -rf $RPM_BUILD_ROOT
* Fri Sep 19 2003 Pixel <pixel@mandrakesoft.com> 1.1.7-1mdk
- read_gnomekderc() & update_gnomekderc() will now handle key=value where key
can contain spaces
+- export cat_or_die()
* Mon Sep 1 2003 Pixel <pixel@mandrakesoft.com> 1.1.6-3mdk
- MDK::Common::System::list_users() should list user 500 if it exists