From 478bca63da79fb79bdca1ba86ef67e35c22d393e Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 28 May 2008 21:41:00 +0000 Subject: * cosmetics: print filename of kernel instead of full path in warning that is shown when a kernel is being picked automatically git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1808 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/OpenSLX/ConfigDB.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config-db/OpenSLX') diff --git a/config-db/OpenSLX/ConfigDB.pm b/config-db/OpenSLX/ConfigDB.pm index 25f2833c..ea1b6643 100644 --- a/config-db/OpenSLX/ConfigDB.pm +++ b/config-db/OpenSLX/ConfigDB.pm @@ -17,6 +17,7 @@ our (@ISA, @EXPORT_OK, %EXPORT_TAGS, $VERSION); $VERSION = 1; # API-version use Clone qw(clone); +use File::Basename; use Exporter; @ISA = qw(Exporter); @@ -2839,7 +2840,7 @@ sub aggregatedSystemFileInfoFor warn( _tr( "setting kernel of system '%s' to '%s'!", - $info->{name}, $kernelFile + $info->{name}, basename($kernelFile) ) ); } -- cgit v1.2.3-55-g7522