From 3372af858ca011440d57cedf8a41324218744a04 Mon Sep 17 00:00:00 2001 From: sjing Date: Thu, 22 Jul 2010 04:51:44 +0000 Subject: [PATCH] Code change for bug ID: 3026983: mknimimage fails with spot based on lppsource export Remove tailing slash if provided for mknimimage "-l" flag. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 3d67c092f..fb3ae0c79 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -3079,6 +3079,11 @@ sub mk_lpp_source } } + if ($::opt_l =~ /\/$/) + { + $::opt_l =~ s/\/$//; #remove tailing slash if provided + } + my $loc; if ($::opt_l) {